<template>
  <el-dialog
    @open="openChangeTital()"
    :title="isTitle"
    :close-on-click-modal="false"
    fullscreen
    :visible.sync="visible">
    <el-form 
      :model="dataForm" 
      :rules="dataRule" 
      ref="dataForm" 
      :disabled="isDisabled"
      @keyup.enter.native="dataFormSubmit()" 
      label-width="100px"
    >
    <el-tabs v-model="activeName">
      <el-tab-pane label="个人基本信息" name="first" style="margin:10px;">
          <el-card style="width: 100%;" shadow="hover">
            <div>
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="行政区划代码" prop="areaCode">
                    <el-input
                      v-model="dataForm.areaCode"
                      placeholder="行政区划代码"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="个人编码" prop="personalCode">
                    <el-input
                      v-model="dataForm.personalCode"
                      placeholder="个人编码"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="姓名" prop="name">
                    <el-input
                      v-model="dataForm.name"
                      placeholder="姓名"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="性别" prop="sex">
                    <el-select
                      v-model="dataForm.sex"
                      placeholder="性别"
                      :style="{ width: '80%' }"
                      @click.native="dataSex('SEX_GROUP')"
                    >
                      <el-option
                        v-for="item in sexList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="民族" prop="sex">
                    <el-select
                      v-model="dataForm.nation"
                      filterable
                      placeholder="民族"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('NATION')"
                    >
                      <el-option
                        v-for="item in nationList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="政治面貌" prop="politicalFace">
                    <el-select
                      v-model="dataForm.politicalFace"
                      placeholder="政治面貌"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('ZZMM')"
                    >
                      <el-option
                        v-for="item in politicalFaceList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="身份证号码" prop="idNo">
                    <el-input
                      v-model="dataForm.idNo"
                      placeholder="身份证号码"
                      :style="{ width: '80%' }"
                      @change="inputFunc(dataForm.idNo)"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="出生年月" prop="birthDate">
                    <el-date-picker
                      v-model="dataForm.birthDate"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="参加工作时间" prop="workTime">
                    <el-date-picker
                      v-model="dataForm.workTime"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                      @change="inputWork(dataForm.workTime)"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="人员分类" prop="personType">
                    <el-select
                      v-model="dataForm.personType"
                      placeholder="人员分类"
                      :style="{ width: '80%' }"
                      clearable
                      @change="dataRyfl($event, 'RYFL')"
                    >
                      <el-option
                        v-for="item in personTypeList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="退休前身份" prop="retirementStatus">
                    <el-select
                      v-model="dataForm.retirementStatus"
                      placeholder="退休前身份"
                      :style="{ width: '80%' }"
                      clearable
                      @change="dataArea($event, 'TXQSF')"
                    >
                      <el-option
                        v-for="item in retirementStatusList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="退休时职务" prop="duties">
                    <el-select
                      v-model="dataForm.duties"
                      placeholder="退休时职务"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataduty(dataForm.retirementStatus)"
                    >
                      <el-option
                        v-for="item in dutiesList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="安置区县" prop="county">
                    <el-select
                      v-model="dataForm.county"
                      placeholder="安置区县"
                      :style="{ width: '80%' }"
                      clearable
                      @change="dataArea($event, 'AREA')"
                    >
                      <el-option
                        v-for="item in countyList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="街道、乡镇" prop="street">
                    <el-select
                      v-model="dataForm.street"
                      filterable
                      placeholder="街道、乡镇"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataStreet(dataForm.county)"
                    >
                      <el-option
                        v-for="item in streetList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="居住社区" prop="community">
                    <el-input
                      v-model="dataForm.community"
                      placeholder="居住社区"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="原部队" prop="originalTroops">
                    <el-select
                      v-model="dataForm.originalTroops"
                      filterable
                      placeholder="原部队"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('YBD')"
                    >
                      <el-option
                        v-for="item in originalTroopsList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="移交时间段" prop="handoverPeriod">
                    <el-select
                      v-model="dataForm.handoverPeriod"
                      placeholder="移交时间段"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('YJSJD')"
                    >
                      <el-option
                        v-for="item in handoverPeriodList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="移交时间" prop="handoverTime">
                    <el-date-picker
                      v-model="dataForm.handoverTime"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="移交方式" prop="handoverMode">
                    <el-select
                      v-model="dataForm.handoverMode"
                      placeholder="移交方式"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('YJFS')"
                    >
                      <el-option
                        v-for="item in handoverModeList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="移交批次" prop="handoverBatch">
                    <el-select
                      v-model="dataForm.handoverBatch"
                      placeholder="移交批次"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('YJPC')"
                    >
                      <el-option
                        v-for="item in handoverBatchList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="职工分类" prop="workersClassification">
                    <el-select
                      v-model="dataForm.workersClassification"
                      placeholder="职工分类"
                      :style="{ width: '80%' }"
                      clearable
                     
                    >
                      <el-option
                        v-for="item in workersClassificationList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>  
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item
                    label="是否享受荣誉津贴"
                    prop="enjoyAllowance"
                    label-width="150px"
                  >
                    <el-select
                      v-model="dataForm.enjoyAllowance"
                      placeholder="是否享受荣誉津贴"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('SFXSRYJT')"
                    >
                      <el-option
                        v-for="item in enjoyAllowanceList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item
                    label="是否享受政府特殊津贴"
                    prop="specialAllowance"
                    label-width="180px"
                  >
                    <el-select
                      v-model="dataForm.specialAllowance"
                      placeholder="是否享受政府特殊津贴"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('SFXSZFTSJT')"
                    >
                      <el-option
                        v-for="item in specialAllowanceList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="接收情况" prop="reception">
                    <el-select
                      v-model="dataForm.reception"
                      placeholder="接收情况"
                      :style="{ width: '80%' }"
                      clearable
                      @click.native="dataSex('JSQK')"
                    >
                      <el-option
                        v-for="item in receptionList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="转入转出时间" prop="inOutTime">
                    <el-date-picker
                      v-model="dataForm.inOutTime"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="本人状态" prop="myStatus">
                    <el-select
                      v-model="dataForm.myStatus"
                      placeholder="本人状态"
                      :style="{ width: '80%' }"
                      clearable
                      @change="dataBrzt($event, 'BRZT')"
                    >
                      <el-option
                        v-for="item in myStatusList"
                        :key="item.value"
                        :label="item.label"
                        :value="item.value"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="死亡" prop="death">
                    <el-select
                      v-model="dataForm.death"
                      :style="{ width: '80%' }"
                      clearable
                      
                    >
                      <el-option
                        v-for="item in deathList"
                        :key="item.code"
                        :label="item.value"
                        :value="item.code"
                      >
                      </el-option>
                    </el-select>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="8">
                  <el-form-item label="死亡时间" prop="deathTime">
                    <el-date-picker
                      v-model="dataForm.deathTime"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                      :disabled="deathTimeDisabled"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="注销日期" prop="logoutDate">
                    <el-date-picker
                      v-model="dataForm.logoutDate"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                      :disabled="logoutDateDisabled"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
                <el-col :span="8">
                  <el-form-item label="批准退休时间" prop="retirementTime">
                    <el-date-picker
                      v-model="dataForm.retirementTime"
                      type="date"
                      value-format="yyyy-MM-dd"
                      placeholder="选择日期"
                      :style="{ width: '80%' }"
                      @change="retirement(dataForm.retirementTime)"
                    >
                    </el-date-picker>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>
        </el-tab-pane>

        <el-tab-pane label="退休信息" name="second" style="margin:10px;">
          <el-card style="width: 100%;" shadow="hover">
            <div>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item label="待遇标准" prop="treatmentStandard">
                      <el-select
                        v-model="dataForm.treatmentStandard"
                        placeholder="待遇标准"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('DYBZ')"
                      >
                        <el-option
                          v-for="item in treatmentStandardList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="技术人员分类"
                      prop="personnelClassification"
                    >
                      <el-select
                        v-model="dataForm.personnelClassification"
                        placeholder="技术人员分类"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="
                          personnelClass(dataForm.retirementStatus)
                        "
                      >
                        <el-option
                          v-for="item in personnelClassificationList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="住房情况" prop="housingSituation">
                      <el-select
                        v-model="dataForm.housingSituation"
                        placeholder="住房情况"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('ZFQK')"
                      >
                        <el-option
                          v-for="item in housingSituationList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item label="住房产权" prop="housingPropertyRight">
                      <el-select
                        v-model="dataForm.housingPropertyRight"
                        placeholder="住房产权"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('ZFCQ')"
                      >
                        <el-option
                          v-for="item in housingPropertyRightList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="房屋产权（租赁）人"
                      prop="leaseholder"
                      label-width="140px"
                    >
                      <el-select
                        v-model="dataForm.leaseholder"
                        placeholder="房屋产权（租赁）人"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('FWZLR')"
                      >
                        <el-option
                          v-for="item in leaseholderList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="住房建筑面积" prop="housingArea">
                      <el-input
                        v-model="dataForm.housingArea"
                        placeholder="住房建筑面积"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item label="工作单位" prop="workUnit">
                      <el-input
                        v-model="dataForm.workUnit"
                        placeholder="工作单位"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="家庭住址" prop="address">
                      <el-input
                        v-model="dataForm.address"
                        placeholder="家庭住址"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="电话号码" prop="phone">
                      <el-input
                        v-model="dataForm.phone"
                        placeholder="电话号码"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="24">
                    <el-form-item label="备注" prop="remarks">
                      <el-input
                        type="textarea"
                        :autosize="{ minRows: 4, maxRows: 10 }"
                        v-model="dataForm.remarks"
                        placeholder="备注"
                        :style="{ width: '95%' }"
                      >
                      </el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20" >
                  <el-col :span="8">
                    <el-form-item label="军队工作年限" prop="workingYearsArmy">
                      <el-input
                        v-model="dataForm.workingYearsArmy"
                        placeholder="军队工作年限"
                        :style="{ width: '80%' }"
                        @mouseout.native="
                          armyWork(
                            dataForm.workingYearsArmy,
                            dataForm.workingYears
                          )
                        "
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="教龄" prop="teachingAge">
                      <el-input
                        v-model="dataForm.teachingAge"
                        placeholder="教龄"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="工作年限（工龄）"
                      prop="workingYears"
                      label-width="140px"
                    >
                      <el-input
                        v-model="dataForm.workingYears"
                        placeholder="工作年限"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="退休费计发比例"
                      prop="retirementFeeProportion"
                      label-width="140px"
                    >
                      <el-input
                        v-model="dataForm.retirementFeeProportion"
                        placeholder="基本退休费计发比例"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="提高比例部分"
                      prop="increaseProportion"
                    >
                      <el-input
                        v-model="dataForm.increaseProportion"
                        placeholder="提高比例部分"
                        :style="{ width: '80%' }"
                        @change="inProtion(dataForm.increaseProportion)"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="工资是否提高10%"
                      prop="isImprove"
                      label-width="140px"
                    >
                      <el-select
                        v-model="dataForm.isImprove"
                        placeholder="工资是否提高10%"
                        :style="{ width: '80%' }"
                        clearable
                        @change="dataImprove($event, 'GZSFTG')"
                      >
                        <el-option
                          v-for="item in isImproveList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="06工改后岗位级别"
                      prop="postLevel"
                      label-width="140px"
                    >
                      <el-select
                        v-model="dataForm.postLevel"
                        placeholder="06工改后岗位级别"
                        :style="{ width: '80%' }"
                        clearable
                        :disabled="postLevel"
                        @click.native="
                          postLevelClass(dataForm.retirementStatus)
                        "
                      >
                        <el-option
                          v-for="item in postLevelList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="薪级" prop="salary">
                      <el-input
                        v-model="dataForm.salary"
                        placeholder="薪级"
                        :style="{ width: '80%' }"
                        :disabled="salaryClass"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="奖金津贴比例" prop="allowanceRatio">
                      <el-select
                        v-model="dataForm.allowanceRatio"
                        placeholder="奖金津贴比例"
                        :style="{ width: '80%' }"
                        clearable
                        :disabled="allowanceRatioClass"
                        @click.native="dataSex('JJJTBL')"
                      >
                        <el-option
                          v-for="item in allowanceRatioList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item label="机关职员级别" prop="wageLevel">
                      <el-select
                        v-model="dataForm.wageLevel"
                        placeholder="机关职员级别"
                        :style="{ width: '80%' }"
                        clearable
                        :disabled="true"
                      >
                        <el-option
                          v-for="item in wageLevelList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="85-06工改工资档次"
                      prop="wageGrade"
                      label-width="140px"
                    >
                      <el-select
                        v-model="dataForm.wageGrade"
                        placeholder="85-06工改工资档次"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('GGGZDC')"
                        :disabled="wageGradeClass"
                      >
                        <el-option
                          v-for="item in wageGradeList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item label="提高比例原因" prop="renson">
                      <el-select
                        v-model="dataForm.renson"
                        placeholder="提高比例原因"
                        :style="{ width: '80%' }"
                        clearable
                        @click.native="dataSex('TGBLYY')"
                        :disabled="rensonClass"
                      >
                        <el-option
                          v-for="item in rensonList"
                          :key="item.value"
                          :label="item.label"
                          :value="item.value"
                        >
                        </el-option>
                      </el-select>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
          </el-card>
        </el-tab-pane>

        <el-tab-pane label="退休费基数" name="third" style="margin:10px;">
          <el-card style="width: 100%;" shadow="hover">
            <div>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item label="工资等级" prop="wageScale">
                    <el-input
                      v-model="dataForm.wageScale"
                      placeholder="工资等级"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>  
          <el-card style="width: 100%;margin-top:20px;" shadow="hover">
            <div>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="薪级工资" prop="salaryScale">
                      <el-input
                        v-model="dataForm.salaryScale"
                        placeholder="薪级工资"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="岗位（级别）标准工资"
                      prop="gradeSalary"
                      label-width="155px"
                    >
                      <el-input
                        v-model="dataForm.gradeSalary"
                        placeholder="档次工资"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="基础工资" prop="basicSalary">
                      <el-input
                        v-model="dataForm.basicSalary"
                        placeholder="基础工资"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="工龄工资" prop="senioritySalary">
                      <el-input
                        v-model="dataForm.senioritySalary"
                        placeholder="工龄工资"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="提高工资10%" prop="raiseWages">
                      <el-input
                        v-model="dataForm.raiseWages"
                        placeholder="提高工资10%"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="级别工资" prop="levelSalary">
                      <el-input
                        v-model="dataForm.levelSalary"
                        placeholder="级别工资"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="军队服务津贴" prop="serviceAllowance">
                      <el-input
                        v-model="dataForm.serviceAllowance"
                        placeholder="军队服务津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="奖金津贴" prop="bonusAllowance">
                      <el-input
                        v-model="dataForm.bonusAllowance"
                        placeholder="奖金津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="困难补助" prop="difficultySubsidy">
                      <el-input
                        v-model="dataForm.difficultySubsidy"
                        placeholder="困难补助"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="教护龄津贴" prop="seniorityAllowance">
                      <el-input
                        v-model="dataForm.seniorityAllowance"
                        placeholder="教护龄津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="特教技师其它津贴"
                      prop="specialTeacherSubsidy"
                      label-width="155px"
                    >
                      <el-input
                        v-model="dataForm.specialTeacherSubsidy"
                        placeholder="特教技师其它津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="基本退休费折扣合计"
                      label-width="140px"
                    >
                      <el-input
                        v-model="this.resultA"
                        placeholder="基本退休费折扣合计"
                        :style="{ width: '80%' }"
                        disabled
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
          </el-card>
        </el-tab-pane>

        <el-tab-pane label="历次增加的退休费" name="fourth" style="margin:10px;">
          <el-card style="width: 100%;" shadow="hover">
            <div>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="1989年10月增加退休费"
                      prop="retirementPayEightynine"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayEightynine"
                        placeholder="1989年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="1992年3月提高退休费10％"
                      prop="retirementPayNinetytwo"
                      label-width="180px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetytwo"
                        placeholder="1992年3月提高退休费10％"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="1995年10月增加退休费"
                      prop="retirementPayNinetyfive"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetyfive"
                        placeholder="1995年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="1997年10月增加退休费"
                      prop="retirementPayNinetysesec"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetysesec"
                        placeholder="1997年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="1999年10月增加退休费"
                      prop="retirementPayNinetynisec"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetynisec"
                        placeholder="1999年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2001年10月增加退休费"
                      prop="retirementPayOnsec"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayOnsec"
                        placeholder="2001年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="2003年10月增加退休费"
                      prop="retirementPayThisec"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayThisec"
                        placeholder="2003年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2005年10月增加退休费"
                      prop="retirementPayFive"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayFive"
                        placeholder="2005年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
              </el-card>
              <el-card style="width: 100%;margin-top:20px;" shadow="hover">
              <div>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="1993年10月第一步增加退休费"
                      prop="retirementPayFirst"
                      label-width="200px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayFirst"
                        placeholder="1993年10月第一步增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="1993年10月第二步增加退休费"
                      prop="retirementPaySecond"
                      label-width="200px"
                    >
                      <el-input
                        v-model="dataForm.retirementPaySecond"
                        placeholder="1993年10月第二步增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="1997年7月增加退休费"
                      prop="retirementPayNinetyseven"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetyseven"
                        placeholder="1997年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="1999年7月增加退休费"
                      prop="retirementPayNinetynine"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNinetynine"
                        placeholder="1999年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="2001年1月增加退休费"
                      prop="retirementPayOne"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayOne"
                        placeholder="2001年1月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2001年10月新增退休费"
                      prop="retirementPayOnenew"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayOnenew"
                        placeholder="2001年10月新增退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="2003年7月增加退休费"
                      prop="retirementPayThird"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayThird"
                        placeholder="2003年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2006年7月增加退休费"
                      prop="retirementPaySix"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementPaySix"
                        placeholder="2006年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="2014年10月增加退休费"
                      prop="retirementPayFourty"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayFourty"
                        placeholder="2014年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2016年7月增加退休费"
                      prop="pensionSixteen"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.pensionSixteen"
                        placeholder="2016年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="2018年7月增加退休费"
                      prop="retirementPayEighteen"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayEighteen"
                        placeholder="2018年7月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="2021年10月增加退休费"
                      prop="retirementPayTwentyten"
                      label-width="160px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayTwentyten"
                        placeholder="2021年10月增加退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col> 
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="历次增加的退休费合计"
                      prop="retirementPayFourty"
                      label-width="170px"
                    >
                      <el-input
                        v-model="this.resultB"
                        placeholder="历次增加的退休费合计"
                        :style="{ width: '80%' }"
                        disabled
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                </div>
              </el-card>
        </el-tab-pane>

        <el-tab-pane label="价格生活补贴" name="five" style="margin:10px;">
          <el-card
            style="width: 100%;"
            shadow="hover"
          >
            <div>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1979年副食补贴"
                    prop="foodAllowanceSeventynine"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.foodAllowanceSeventynine"
                      placeholder="1979年副食补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1988年副食补贴"
                    prop="foodAllowanceEightyeight"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.foodAllowanceEightyeight"
                      placeholder="1988年副食补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1991年粮油补贴"
                    prop="oilAllowanceNightyone"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.oilAllowanceNightyone"
                      placeholder="1991年粮油补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1992年粮油补贴"
                    prop="oilAllowanceNightytwo"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.oilAllowanceNightytwo"
                      placeholder="1992年粮油补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1992年燃料补贴"
                    prop="fuelLlowance"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.fuelLlowance"
                      placeholder="1992年燃料补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1992年蛋肉菜补贴"
                    prop="meatLlowance"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.meatLlowance"
                      placeholder="1992年蛋肉菜补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1993年粮油补贴"
                    prop="oilAllowanceNightythird"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.oilAllowanceNightythird"
                      placeholder="1993年粮油补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1985年生活补贴"
                    prop="livingAllowanceEightyfive"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceEightyfive"
                      placeholder="1985年生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1988年生活补贴"
                    prop="livingAllowanceEightyei"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceEightyei"
                      placeholder="1988年生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1992年生活补贴"
                    prop="livingAllowanceNightytw"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightytw"
                      placeholder="1992年生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1994年生活补贴"
                    prop="livingAllowanceNightyfo"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightyfo"
                      placeholder="1994年生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1995年生活补贴"
                    prop="livingAllowanceNightyfive"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightyfive"
                      placeholder="1995年生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="价格生活补贴合计"
                    prop="sumPrice"
                    label-width="150px"
                  >
                    <el-input
                      v-model="this.resultC"
                      placeholder="价格生活补贴合计"
                      :style="{ width: '80%' }"
                      disabled
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>
        </el-tab-pane>

        <el-tab-pane label="增机制补贴及退休金" name="six" style="margin:10px">
            <el-card style="width: 100%; " shadow="hover">
              <div>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="2007年增加生活补贴"
                      prop="livingAllowanceSeven"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.livingAllowanceSeven"
                        placeholder="2007年增加生活补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2010年职务补贴"
                      prop="jobSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.jobSubsidy"
                        placeholder="2010年职务补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2010年年龄补贴"
                      prop="ageAllowance"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.ageAllowance"
                        placeholder="2010年年龄补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="2011年退休补贴"
                      prop="retirementAllowanceOneo"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementAllowanceOneo"
                        placeholder="2011年退休补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2012年工作年限补贴"
                      prop="workingYearsSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.workingYearsSubsidy"
                        placeholder="2012年工作年限补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2012年提高比例补贴"
                      prop="proportionalSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.proportionalSubsidy"
                        placeholder="2012年提高比例补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="2013年增长机制补贴"
                      prop="growthMechanismThirty"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.growthMechanismThirty"
                        placeholder="2013年增长机制补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2013年退休补贴"
                      prop="retirementAllowanceOneth"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementAllowanceOneth"
                        placeholder="2013年退休补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2014年退休补贴"
                      prop="retirementAllowanceThirty"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementAllowanceThirty"
                        placeholder="2014年退休补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="2019年1月调整待遇"
                      prop="retirementPayNineteen"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayNineteen"
                        placeholder="2019年1月调整待遇"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="2021年7月增加退休补贴"
                      prop="retirementPayTwentyseven"
                      label-width="170px"
                    >
                      <el-input
                        v-model="dataForm.retirementPayTwentyseven"
                        placeholder="2021年7月增加退休补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="增加生活机制（补贴）合计"
                      prop="pensionTwenty"
                      label-width="180px"
                    >
                      <el-input
                        v-model="this.resultF"
                        placeholder="增加生活机制（补贴）合计"
                        :style="{ width: '80%' }"
                        disabled
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
            </el-card>
            <el-card style="width: 100%; margin-top: 20px; margin-bottom: 20px " shadow="hover">
              <div>  
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="书费报费"
                      prop="paperMoney"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.paperMoney"
                        placeholder="书费报费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="洗理费"
                      prop="bathSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.bathSubsidy"
                        placeholder="洗理费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="住房补贴"
                      prop="housingSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.housingSubsidy"
                        placeholder="住房补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="其它收入"
                      prop="otherIncome"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.otherIncome"
                        placeholder="其它收入"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="荣誉津贴"
                      prop="honorAllowance"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.honorAllowance"
                        placeholder="荣誉津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="物业服务补贴"
                      prop="serviceSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.serviceSubsidy"
                        placeholder="物业服务补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item label="其它合计" label-width="150px">
                      <el-input
                        v-model="this.resultG"
                        disabled
                        placeholder="其它合计"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
            </el-card>  
            <el-card style="width: 100%; margin-top: 20px; margin-bottom: 20px  " shadow="hover">
              <div>  
                <el-row :gutter="20">
                  <el-col :span="8">
                    <el-form-item
                      label="四大节日补贴"
                      prop="holidaySubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.holidaySubsidy"
                        placeholder="四大节日补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="政府特殊津贴"
                      prop="specialGoveAllowanc"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.specialGoveAllowanc"
                        placeholder="政府特殊津贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="8">
                    <el-form-item
                      label="采暖补贴"
                      prop="heatingSubsidy"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.heatingSubsidy"
                        placeholder="采暖补贴"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
            </el-card>
            <el-card style="width: 100%; margin-top: 20px; margin-bottom: 20px  " shadow="hover">
              <div>  
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item label="自动生成退休费" label-width="150px">
                      <el-input
                        v-model="this.resultH"
                        disabled
                        placeholder="自动生成退休费"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item label="退休费的差额" label-width="150px">
                      <el-input
                        v-model="this.resultI"
                        disabled
                        placeholder="退休费的差额"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
            </el-card>
            <el-card style="width: 100%  " shadow="hover">
              <div>  
                <el-row :gutter="20">
                  <el-col :span="12">
                    <el-form-item
                      label="月退休费金额"
                      prop="totalMonthlyPension"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.totalMonthlyPension"
                        placeholder="月退休费金额"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                  <el-col :span="12">
                    <el-form-item
                      label="增加退休金"
                      prop="increasePension"
                      label-width="150px"
                    >
                      <el-input
                        v-model="dataForm.increasePension"
                        disabled
                        placeholder="增加退休金"
                        :style="{ width: '80%' }"
                      ></el-input>
                    </el-form-item>
                  </el-col>
                </el-row>
              </div>
          </el-card>
        </el-tab-pane>

        <el-tab-pane label="归并信息" name="eight" style="margin:10px">
          <el-card style="width: 100%" shadow="hover">
            <div>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1996年增加生活补贴"
                    prop="livingAllowanceNightysix"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightysix"
                      placeholder="1996年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1997年增加生活补贴"
                    prop="livingAllowanceNightysev"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightysev"
                      placeholder="1997年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="1998年增加生活补贴"
                    prop="livingAllowanceNightyeig"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightyeig"
                      placeholder="1998年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="1999年增加生活补贴"
                    prop="livingAllowanceNightynig"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceNightynig"
                      placeholder="1999年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="2000年增加生活补贴"
                    prop="livingAllowanceZero"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceZero"
                      placeholder="2000年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="2001年增加生活补贴"
                    prop="livingAllowanceOne"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceOne"
                      placeholder="2001年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="2002年增加生活补贴"
                    prop="livingAllowanceTwo"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceTwo"
                      placeholder="2002年增加生活补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="2003年增加机制补贴"
                    prop="livingAllowanceThird"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceThird"
                      placeholder="2003年增加机制补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="2004年增加机制补贴"
                    prop="livingAllowanceFour"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.livingAllowanceFour"
                      placeholder="2004年增加机制补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item label="增加机制补贴合计" label-width="150px">
                    <el-input
                      v-model="this.resultD"
                      placeholder="增加机制补贴合计"
                      :style="{ width: '80%' }"
                      disabled
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>
          <el-card
            style="width: 100%; margin-top: 20px; margin-bottom: 20px"
            shadow="hover"
          >
            <div>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="退休当年职务补贴"
                    prop="totalSubsidy"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.totalSubsidy"
                      placeholder="退休当年职务补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item label="按比例折扣职务补贴" label-width="150px">
                    <el-input
                      v-model="this.resultE"
                      placeholder="按比例折扣职务补贴"
                      :style="{ width: '80%' }"
                      disabled
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>
          <el-card style="width: 100%;" shadow="hover">
            <div>
              <el-row :gutter="20">
                <el-col :span="12">
                  <el-form-item
                    label="2000年1月增加退休费"
                    prop="retirementPayZero"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.retirementPayZero"
                      placeholder="2000年1月增加退休费"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
                <el-col :span="12">
                  <el-form-item
                    label="2012年增长机制补贴"
                    prop="growthMechanismSubsidy"
                    label-width="150px"
                  >
                    <el-input
                      v-model="dataForm.growthMechanismSubsidy"
                      placeholder="2012年增长机制补贴"
                      :style="{ width: '80%' }"
                    ></el-input>
                  </el-form-item>
                </el-col>
              </el-row>
            </div>
          </el-card>
        </el-tab-pane>

    </el-tabs>  
    </el-form>
    <span slot="footer" class="dialog-footer">
      <el-button @click="visible = false" :style="{ display: visibleLine }">取消</el-button>
      <el-button type="primary" :style="{ display: visibleLine }" @click="dataFormSubmit()">确定</el-button>
      <span v-if="this.dataForm.id"><el-button type="primary" @click="downloadshbt()">查看生活补贴构成表</el-button></span>
      <span v-if="this.dataForm.id"><el-button type="primary" @click="shbt()">预览生活补贴构成表</el-button></span>
      <span v-if="this.dataForm.id"><el-button type="primary" @click="download()">查看退休费构成表</el-button></span>
      <span v-if="this.dataForm.id"><el-button type="primary" @click="txf()">预览退休费构成表</el-button></span>
      <span v-if="this.dataForm.id"><span v-if="this.dataForm.myStatus=='死亡' "><el-button type="primary" @click="downloadDeath()">查看抚恤金构成表</el-button></span></span>
      <span v-if="this.dataForm.id"><span v-if="this.dataForm.myStatus=='死亡' "><el-button type="primary" @click="xfj()">预览抚恤金构成表</el-button></span></span>
    </span>
    <SHBT v-if="addOrUpdateSHBT" ref="SHBT" ></SHBT>
    <TXF1 v-if="addOrUpdateTXF1" ref="TXF1" ></TXF1>
    <TXF2 v-if="addOrUpdateTXF2" ref="TXF2" ></TXF2>
    <TXF3 v-if="addOrUpdateTXF3" ref="TXF3" ></TXF3>
    <TXF4 v-if="addOrUpdateTXF4" ref="TXF4" ></TXF4>
    <TXF5 v-if="addOrUpdateTXF5" ref="TXF5" ></TXF5>
    <FXJA1 v-if="addOrUpdateFXJA1" ref="FXJA1" ></FXJA1>
    <FXJA2 v-if="addOrUpdateFXJA2" ref="FXJA2" ></FXJA2>
    <FXJA3 v-if="addOrUpdateFXJA3" ref="FXJA3" ></FXJA3>
    <FXJA4 v-if="addOrUpdateFXJA4" ref="FXJA4" ></FXJA4>
    <FXJA5 v-if="addOrUpdateFXJA5" ref="FXJA5" ></FXJA5>
    <FXJB1 v-if="addOrUpdateFXJB1" ref="FXJB1" ></FXJB1>
    <FXJB2 v-if="addOrUpdateFXJB2" ref="FXJB2" ></FXJB2>
    <FXJB3 v-if="addOrUpdateFXJB3" ref="FXJB3" ></FXJB3>
    <FXJB4 v-if="addOrUpdateFXJB4" ref="FXJB4" ></FXJB4>
    <FXJB5 v-if="addOrUpdateFXJB5" ref="FXJB5" ></FXJB5>
  </el-dialog>
</template>

<script>
  import SHBT from './jgqshbt.vue'
  import TXF1 from './jgqtxf1.vue'
  import TXF2 from './jgqtxf2.vue'
  import TXF3 from './jgqtxf3.vue'
  import TXF4 from './jgqtxf4.vue'
  import TXF5 from './jgqtxf5.vue'
  import FXJA1 from './jgqfxjA1.vue'
  import FXJA2 from './jgqfxjA2.vue'
  import FXJA3 from './jgqfxjA3.vue'
  import FXJA4 from './jgqfxjA4.vue'
  import FXJA5 from './jgqfxjA5.vue'
  import FXJB1 from './jgqfxjB1.vue'
  import FXJB2 from './jgqfxjB2.vue'
  import FXJB3 from './jgqfxjB3.vue'
  import FXJB4 from './jgqfxjB4.vue'
  import FXJB5 from './jgqfxjB5.vue'
  import docxtemplater from 'docxtemplater';
  import PizZip from 'pizzip';
  import JSZipUtils from 'jszip-utils';
  import { saveAs } from 'file-saver';
  export default {
    data () {
      return {
        addOrUpdateSHBT:false,
        addOrUpdateTXF1:false,
        addOrUpdateTXF2:false,
        addOrUpdateTXF3:false,
        addOrUpdateTXF4:false,
        addOrUpdateTXF5:false,
        addOrUpdateFXJA1:false,
        addOrUpdateFXJA2:false,
        addOrUpdateFXJA3:false,
        addOrUpdateFXJA4:false,
        addOrUpdateFXJA5:false,
        addOrUpdateFXJB1:false,
        addOrUpdateFXJB2:false,
        addOrUpdateFXJB3:false,
        addOrUpdateFXJB4:false,
        addOrUpdateFXJB5:false,
        dataList: [],
        pageIndex: 1,
        pageSize: 10,
        totalPage: 0,
        logoutDateDisabled: false,
        deathDisabled: false,
        deathTimeDisabled: false,
        postLevel: false,
        salaryClass: false,
        allowanceRatioClass: false,
        wageGradeClass: false,
        rensonClass: false,
        sexList: [],
        workersClassificationList: [],
        countyList: [],
        streetList: [],
        nationList: [],
        politicalFaceList: [],
        retirementStatusList: [],
        dutiesList: [],
        originalTroopsList: [],
        handoverPeriodList: [],
        handoverModeList: [],
        handoverBatchList: [],
        enjoyAllowanceList: [],
        specialAllowanceList: [],
        receptionList: [],
        myStatusList: [],
        treatmentStandardList: [],
        personnelClassificationList: [],
        housingSituationList: [],
        housingPropertyRightList: [],
        leaseholderList: [],
        isImproveList: [],
        postLevelList: [],
        allowanceRatioList: [],
        wageGradeList: [],
        rensonList: [],
        wageLevelList: [],
        deathList: [],
        personTypeList: [],
        activeName: "first",
        visible: false,
        isTitle: "",
        isDisabled: false,
        visibleLine:"",
        dataForm: {
          id: 0,
          areaCode: '',
          personalCode: '',
          name: '',
          sex: '',
          nation: '',
          politicalFace: '',
          idNo: '',
          birthDate: '',
          workTime: '',
          retirementTime: '',
          retirementStatus: '',
          duties: '',
          county: '',
          street: '',
          community: '',
          originalTroops: '',
          handoverPeriod: '',
          handoverTime: '',
          handoverMode: '',
          handoverBatch: '',
          workersClassification: '',
          reception: '',
          myStatus: '',
          inOutTime: '',
          deathTime: '',
          housingSituation: '',
          housingPropertyRight: '',
          leaseholder: '',
          housingArea: '',
          increasePension: '',
          totalMonthlyPension: '',
          death: '',
          workUnit: '',
          address: '',
          phone: '',
          remarks: '',
          workingYears: '',
          workingYearsArmy: '',
          teachingAge: '',
          wageLevel: '',
          wageGrade: '',
          wageScale: '',
          treatmentStandard: '',
          personnelClassification: '',
          enjoyAllowance: '',
          specialAllowance: '',
          increaseProportion: '',
          renson: '',
          allowanceRatio: '',
          postLevel: '',
          salary: '',
          isImprove: '',
          retirementFeeProportion: '',
          senioritySalary: '',
          basicSalary: '',
          levelSalary: '',
          gradeSalary: '',
          salaryScale: '',
          bonusAllowance: '',
          serviceAllowance: '',
          seniorityAllowance: '',
          totalSubsidy: '',
          specialTeacherSubsidy: '',
          difficultySubsidy: '',
          raiseWages: '',
          retirementPayEightynine: '',
          retirementPayNinetytwo: '',
          retirementPayFirst: '',
          retirementPaySecond: '',
          retirementPayNinetyfive: '',
          retirementPayNinetyseven: '',
          retirementPayNinetysesec: '',
          retirementPayNinetynine: '',
          retirementPayNinetynisec: '',
          retirementPayZero: '',
          retirementPayOne: '',
          retirementPayOnenew: '',
          retirementPayOnsec: '',
          retirementPayThird: '',
          retirementPayThisec: '',
          retirementPayFive: '',
          retirementPaySix: '',
          foodAllowanceSeventynine: '',
          foodAllowanceEightyeight: '',
          oilAllowanceNightyone: '',
          oilAllowanceNightytwo: '',
          fuelLlowance: '',
          meatLlowance: '',
          oilAllowanceNightythird: '',
          livingAllowanceEightyfive: '',
          livingAllowanceEightyei: '',
          livingAllowanceNightytw: '',
          livingAllowanceNightyfo: '',
          livingAllowanceNightyfive: '',
          livingAllowanceNightysix: '',
          livingAllowanceNightysev: '',
          livingAllowanceNightyeig: '',
          livingAllowanceNightynig: '',
          livingAllowanceZero: '',
          livingAllowanceOne: '',
          livingAllowanceTwo: '',
          livingAllowanceThird: '',
          livingAllowanceFour: '',
          livingAllowanceSeven: '',
          specialGoveAllowanc: '',
          paperMoney: '',
          housingSubsidy: '',
          bathSubsidy: '',
          honorAllowance: '',
          otherIncome: '',
          jobSubsidy: '',
          ageAllowance: '',
          holidaySubsidy: '',
          retirementAllowanceOneo: '',
          growthMechanismSubsidy: '',
          workingYearsSubsidy: '',
          proportionalSubsidy: '',
          retirementAllowanceOneth: '',
          growthMechanismThirty: '',
          retirementAllowanceThirty: '',
          retirementPayFourty: '',
          logoutDate: '',
          heatingSubsidy: '',
          serviceSubsidy: '',
          pensionSixteen: '',
          retirementPayEighteen: '',
          retirementPayNineteen: '',
          retirementPayTwentyseven: '',
          retirementPayTwentyten: '',
          personType: '',
          state: ''
        },
        dataRule: {

          areaCode: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            }
          ],
          personalCode: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            }
          ],
          // name: [
          //   { required: true, message: '姓名不能为空', trigger: 'blur' }
          // ],
          // sex: [
          //   { required: true, message: '性别不能为空', trigger: 'blur' }
          // ],
          // nation: [
          //   { required: true, message: '民族不能为空', trigger: 'blur' }
          // ],
          // politicalFace: [
          //   { required: true, message: '政治面目不能为空', trigger: 'blur' }
          // ],
          idNo: [
            {
              pattern: /(^\d{15}$)|(^\d{18}$)|(^\d{17}(\d|X|x)$)/,
              message: "请输入正确的身份证号码",
            },
          ],
          // birthDate: [
          //   { required: true, message: '出生年月不能为空', trigger: 'blur' }
          // ],
          // workTime: [
          //   { required: true, message: '参加工作时间不能为空', trigger: 'blur' }
          // ],
          // retirementTime: [
          //   { required: true, message: '退休时间不能为空', trigger: 'blur' }
          // ],
          // retirementStatus: [
          //   { required: true, message: '退休前身份不能为空', trigger: 'blur' }
          // ],
          // duties: [
          //   { required: true, message: '职务不能为空', trigger: 'blur' }
          // ],
          // county: [
          //   { required: true, message: '所属区县不能为空', trigger: 'blur' }
          // ],
          // street: [
          //   { required: true, message: '所属街道不能为空', trigger: 'blur' }
          // ],
          // community: [
          //   { required: true, message: '居住社区不能为空', trigger: 'blur' }
          // ],
          // originalTroops: [
          //   { required: true, message: '原部队不能为空', trigger: 'blur' }
          // ],
          // handoverPeriod: [
          //   { required: true, message: '移交时间段不能为空', trigger: 'blur' }
          // ],
          // handoverTime: [
          //   { required: true, message: '移交时间不能为空', trigger: 'blur' }
          // ],
          // handoverMode: [
          //   { required: true, message: '移交方式不能为空', trigger: 'blur' }
          // ],
          // handoverBatch: [
          //   { required: true, message: '移交批次不能为空', trigger: 'blur' }
          // ],
          // workersClassification: [
          //   { required: true, message: '职工分类不能为空', trigger: 'blur' }
          // ],
          // reception: [
          //   { required: true, message: '接收情况不能为空', trigger: 'blur' }
          // ],
          // myStatus: [
          //   { required: true, message: '本人状态不能为空', trigger: 'blur' }
          // ],
          // inOutTime: [
          //   { required: true, message: '转入转出时间不能为空', trigger: 'blur' }
          // ],
          // deathTime: [
          //   { required: true, message: '死亡时间不能为空', trigger: 'blur' }
          // ],
          // housingSituation: [
          //   { required: true, message: '住房情况不能为空', trigger: 'blur' }
          // ],
          // housingPropertyRight: [
          //   { required: true, message: '住房房产权不能为空', trigger: 'blur' }
          // ],
          // leaseholder: [
          //   { required: true, message: '租赁人不能为空', trigger: 'blur' }
          // ],
          housingArea: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          // increasePension: [
          //   { required: true, message: '增加退休金不能为空', trigger: 'blur' }
          // ],
          totalMonthlyPension: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          // death: [
          //   { required: true, message: '死亡不能为空', trigger: 'blur' }
          // ],
          // workUnit: [
          //   { required: true, message: '工作单位不能为空', trigger: 'blur' }
          // ],
          // address: [
          //   { required: true, message: '家庭住址不能为空', trigger: 'blur' }
          // ],
          // phone: [
          //   { required: true, message: '电话号码不能为空', trigger: 'blur' }
          // ],
          // remarks: [
          //   { required: true, message: '备注不能为空', trigger: 'blur' }
          // ],
          workingYears: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          workingYearsArmy: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          teachingAge: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          // wageLevel: [
          //   { required: true, message: '工资级别不能为空', trigger: 'blur' }
          // ],
          // wageGrade: [
          //   { required: true, message: '工资档次不能为空', trigger: 'blur' }
          // ],
          // wageScale: [
          //   { required: true, message: '工资等级不能为空', trigger: 'blur' }
          // ],
          // treatmentStandard: [
          //   { required: true, message: '待遇标准不能为空', trigger: 'blur' }
          // ],
          // personnelClassification: [
          //   { required: true, message: '技术人员分类不能为空', trigger: 'blur' }
          // ],
          // enjoyAllowance: [
          //   { required: true, message: '是否享受荣誉津贴不能为空', trigger: 'blur' }
          // ],
          // specialAllowance: [
          //   { required: true, message: '是否享受政府特殊津贴不能为空', trigger: 'blur' }
          // ],
          increaseProportion: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          // renson: [
          //   { required: true, message: '提高比例原因不能为空', trigger: 'blur' }
          // ],
          // allowanceRatio: [
          //   { required: true, message: '奖金津贴比例不能为空', trigger: 'blur' }
          // ],
          // postLevel: [
          //   { required: true, message: '岗位级别不能为空', trigger: 'blur' }
          // ],
          // salary: [
          //   { required: true, message: '薪级不能为空', trigger: 'blur' }
          // ],
          // isImprove: [
          //   { required: true, message: '是否提高不能为空', trigger: 'blur' }
          // ],
          retirementFeeProportion: [
            {
              pattern: /^[0-9]*$/,
              message: "请输入数字",
            },
          ],
          senioritySalary: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          basicSalary: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          levelSalary: [
            {
            pattern: /^\d*(\.\d{1,3})?$/,
            message: "请输入数值",
          },
          ],
          gradeSalary: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          salaryScale: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          bonusAllowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          serviceAllowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          seniorityAllowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          totalSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          specialTeacherSubsidy: [
            {
              pattern: /(^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d{1,3})?$)/,
              message: "请输入数值",
            },
          ],
          difficultySubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          raiseWages: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayEightynine: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetytwo: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayFirst: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPaySecond: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetyfive: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetyseven: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetysesec: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetynine: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNinetynisec: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayZero: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayOne: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayOnenew: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayOnsec: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayThird: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayThisec: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayFive: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPaySix: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          foodAllowanceSeventynine: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          foodAllowanceEightyeight: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          oilAllowanceNightyone: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          oilAllowanceNightytwo: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          fuelLlowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          meatLlowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          oilAllowanceNightythird: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceEightyfive: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceEightyei: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightytw: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightyfo: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightyfive: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightysix: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightysev: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightyeig: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceNightynig: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceZero: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceOne: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceTwo: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceThird: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceFour: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          livingAllowanceSeven: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          specialGoveAllowanc: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          paperMoney: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          housingSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          bathSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          honorAllowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          otherIncome: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          jobSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          ageAllowance: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          holidaySubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementAllowanceOneo: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          growthMechanismSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          workingYearsSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          proportionalSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementAllowanceOneth: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          growthMechanismThirty: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementAllowanceThirty: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayFourty: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          // logoutDate: [
          //   { required: true, message: '注销日期不能为空', trigger: 'blur' }
          // ],
          heatingSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          serviceSubsidy: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          pensionSixteen: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayEighteen: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayNineteen: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayTwentyseven: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          retirementPayTwentyten: [
            {
              pattern: /^\d*(\.\d{1,3})?$/,
              message: "请输入数值",
            },
          ],
          // personType: [
          //   { required: true, message: '人员分类不能为空', trigger: 'blur' }
          // ]
        }
      }
    },
    components: {
      SHBT,
      TXF1,
      TXF2,
      TXF3,
      TXF4,
      TXF5,
      FXJA1,
      FXJA2,
      FXJA3,
      FXJA4,
      FXJA5,
      FXJB1,
      FXJB2,
      FXJB3,
      FXJB4,
      FXJB5
      
  },
    created() {
    this.dataForm.treatmentStandard = "事业单位标准";
    this.dataForm.handoverMode = "就地安置";
    this.dataForm.enjoyAllowance = "无";
    this.dataForm.specialAllowance = "否";
    this.dataForm.isImprove = "否";
    this.dataSex("SEX_GROUP");
    this.dataSex("EMPLOYEE");
    this.dataSex("AREA");
    this.dataSex("NATION");
    this.dataSex("ZZMM");
    this.dataSex("TXQSF");
    this.dataSex("YBD");
    this.dataSex("YJSJD");
    this.dataSex("YJFS");
    this.dataSex("YJPC");
    this.dataSex("SFXSRYJT");
    this.dataSex("SFXSZFTSJT");
    this.dataSex("JSQK");
    this.dataSex("BRZT");
    this.dataSex("DYBZ");
    this.dataSex("ZFQK");
    this.dataSex("ZFCQ");
    this.dataSex("FWZLR");
    this.dataSex("GZSFTG");
    this.dataSex("JJJTBL");
    this.dataSex("GGGZDC");
    this.dataSex("TGBLYY");
    this.dataSex("DEATH");
    this.dataSex("RYFL");
    },
    computed: {
      //退休费基数
      resultA() {
        //不计算比例
        let basicSalary = this.dataForm.basicSalary; //基础工资
        let senioritySalary = this.dataForm.senioritySalary; //工龄工资
        let seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴
        let difficultySubsidy = this.dataForm.difficultySubsidy; //困难补助
        let specialTeacherSubsidy = this.dataForm.specialTeacherSubsidy; //特级老师补贴
        //计算比例
        let salaryScale = this.dataForm.salaryScale; //薪级工资
        let raiseWages = this.dataForm.raiseWages; //提高工资10%
        let serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
        let gradeSalary = this.dataForm.gradeSalary; //岗位工资
        let levelSalary = this.dataForm.levelSalary; //级别工资
        let bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴

        let txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
        let tgblbf = this.dataForm.increaseProportion;//提高比例部分
        let gzsftg = this.dataForm.isImprove//工资是否提高10%
        let gzsftgValue = '';
        if(txfjfbl === null || txfjfbl === "")
        {
          txfjfbl = 0;
        }
        if(tgblbf === null || tgblbf === "")
        {
          tgblbf = 0;
        }
        if(gzsftg == "是")
        {
            gzsftgValue = 10;
        }else{
          gzsftgValue = 0
        }
        txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
        
        let sumBasicRe = 0;
        if (salaryScale !== "" && salaryScale !== null) {
          sumBasicRe = sumBasicRe + parseFloat(salaryScale);
        }
        if (raiseWages !== "" && raiseWages !== null) {
          sumBasicRe = sumBasicRe + parseFloat(raiseWages);
        }
        if (serviceAllowance !== "" && serviceAllowance !== null) {
          sumBasicRe = sumBasicRe + parseFloat(serviceAllowance);
        }
        if (gradeSalary !== "" && gradeSalary !== null) {
          sumBasicRe = sumBasicRe + parseFloat(gradeSalary);
        }
        if (levelSalary !== "" && levelSalary !== null) {
          sumBasicRe = sumBasicRe + parseFloat(levelSalary);
        }
        if (bonusAllowance !== "" && bonusAllowance !== null) {
          sumBasicRe = sumBasicRe + parseFloat(bonusAllowance);
        }
          let bl = parseFloat(txfjfbl)/100;
          //sumBasicRe = sumBasicRe * bl;
          sumBasicRe = sumBasicRe * bl;

      
        if (basicSalary !== "" && basicSalary !== null) {
          sumBasicRe = sumBasicRe + parseFloat(basicSalary);
        }
        if (difficultySubsidy !== "" && difficultySubsidy !== null) {
          sumBasicRe = sumBasicRe + parseFloat(difficultySubsidy);
        }
        if (senioritySalary !== "" && senioritySalary !== null) {
          sumBasicRe = sumBasicRe + parseFloat(senioritySalary);
        }
        if (seniorityAllowance !== "" && seniorityAllowance !== null) {
          sumBasicRe = sumBasicRe + parseFloat(seniorityAllowance);
        }
        if (specialTeacherSubsidy !== "" && specialTeacherSubsidy !== null) {
          sumBasicRe = sumBasicRe + parseFloat(specialTeacherSubsidy);
        }
        
        
        return Math.ceil(sumBasicRe)
      },
      //历次增加的退休费合计
      resultB() {
        let retirementPayEightynine = this.dataForm.retirementPayEightynine; //1989年10月增加退休费
        let retirementPayNinetytwo = this.dataForm.retirementPayNinetytwo; //1992年3月提高退休费10％
        let retirementPayFirst = this.dataForm.retirementPayFirst; //1993年10月第一步增加退休费
        let retirementPaySecond = this.dataForm.retirementPaySecond; //1993年10月第二步增加退休费
        let retirementPayNinetyfive = this.dataForm.retirementPayNinetyfive; //1995年10月增加退休费
        let retirementPayNinetynisec = this.dataForm.retirementPayNinetynisec; //1999年10月增加退休费
        let retirementPayThisec = this.dataForm.retirementPayThisec; //2003年10月增加退休费
        let retirementPayNinetyseven = this.dataForm.retirementPayNinetyseven; //1997年7月增加退休费
        let retirementPayOne = this.dataForm.retirementPayOne; //2001年1月增加退休费
        let retirementPayThird = this.dataForm.retirementPayThird; //2003年7月增加退休费
        let retirementPayNinetysesec = this.dataForm.retirementPayNinetysesec; //1997年10月增加退休费
        let retirementPayOnsec = this.dataForm.retirementPayOnsec; //2001年10月增加退休费
        let retirementPayFive = this.dataForm.retirementPayFive; //2005年10月增加退休费
        let retirementPayNinetynine = this.dataForm.retirementPayNinetynine; //1999年7月增加退休费
        let retirementPayOnenew = this.dataForm.retirementPayOnenew; //2001年10月新增退休费
        let retirementPaySix = this.dataForm.retirementPaySix; //2006年7月增加退休费
        let retirementPayFourty = this.dataForm.retirementPayFourty; //2014年10月增加退休费
        let pensionSixteen = this.dataForm.pensionSixteen;//2016年7月增加离休费
        let retirementPayEighteen = this.dataForm.retirementPayEighteen;//2018年7月增加离休费
        let retirementPayTwentyten = this.dataForm.retirementPayTwentyten;//2021年10月增加离休费

        let sumAddRe = 0;
        if (retirementPayEightynine !== "" && retirementPayEightynine !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayEightynine);
        }
        if (retirementPayNinetyfive !== "" && retirementPayNinetyfive !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetyfive);
        }
        if (retirementPayNinetynisec !== "" && retirementPayNinetynisec !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetynisec);
        }
        if (retirementPayThisec !== "" && retirementPayThisec !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayThisec);
        }
        if (retirementPayFirst !== "" && retirementPayFirst !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayFirst);
        }
        if (retirementPayNinetyseven !== "" && retirementPayNinetyseven !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetyseven);
        }
        if (retirementPayOne !== "" && retirementPayOne !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayOne);
        }
        if (retirementPayThird !== "" && retirementPayThird !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayThird);
        }
        if (retirementPayFourty !== "" && retirementPayFourty !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayFourty);
        }
        if (retirementPayNinetytwo !== "" && retirementPayNinetytwo !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetytwo);
        }
        if (retirementPayNinetysesec !== "" && retirementPayNinetysesec !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetysesec);
        }
        if (retirementPayOnsec !== "" && retirementPayOnsec !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayOnsec);
        }
        if (retirementPayFive !== "" && retirementPayFive !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayFive);
        }
        if (retirementPaySecond !== "" && retirementPaySecond !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPaySecond);
        }
        if (retirementPayNinetynine !== "" && retirementPayNinetynine !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayNinetynine);
        }
        if (retirementPayOnenew !== "" && retirementPayOnenew !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayOnenew);
        }
        if (retirementPaySix !== "" && retirementPaySix !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPaySix);
        }
        if (pensionSixteen !== "" && pensionSixteen !== null) {
          sumAddRe = sumAddRe + parseFloat(pensionSixteen);
        }
        if (retirementPayEighteen !== "" && retirementPayEighteen !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayEighteen);
        }
        if (retirementPayTwentyten !== "" && retirementPayTwentyten !== null) {
          sumAddRe = sumAddRe + parseFloat(retirementPayTwentyten);
        }
        return parseFloat(sumAddRe).toFixed(2);
      },
      //价格生活补贴合计
      resultC() {
        let foodAllowanceSeventynine = this.dataForm.foodAllowanceSeventynine; //1979年副食补贴
        let oilAllowanceNightyone = this.dataForm.oilAllowanceNightyone; //1991年粮油补贴
        let fuelLlowance = this.dataForm.fuelLlowance; //1992年燃料补贴
        let oilAllowanceNightythird = this.dataForm.oilAllowanceNightythird; //1993年粮油补贴
        let livingAllowanceEightyei = this.dataForm.livingAllowanceEightyei; //1988年生活补贴
        let livingAllowanceNightyfo = this.dataForm.livingAllowanceNightyfo; //1994年生活补贴
        let foodAllowanceEightyeight = this.dataForm.foodAllowanceEightyeight; //1988年副食补贴
        let oilAllowanceNightytwo = this.dataForm.oilAllowanceNightytwo; //1992年粮油补贴
        let meatLlowance = this.dataForm.meatLlowance; //1992年蛋肉菜补贴
        let livingAllowanceEightyfive = this.dataForm.livingAllowanceEightyfive; //1985年生活补贴
        let livingAllowanceNightytw = this.dataForm.livingAllowanceNightytw; //1992年生活补贴
        let livingAllowanceNightyfive = this.dataForm.livingAllowanceNightyfive; //1995年生活补贴
        let sumPrice = 0;
        if (foodAllowanceSeventynine !== "" && foodAllowanceSeventynine !== null) {
          sumPrice = sumPrice + parseFloat(foodAllowanceSeventynine);
        }
        if (oilAllowanceNightyone !== "" && oilAllowanceNightyone !== null) {
          sumPrice = sumPrice + parseFloat(oilAllowanceNightyone);
        }
        if (fuelLlowance !== "" && fuelLlowance !== null) {
          sumPrice = sumPrice + parseFloat(fuelLlowance);
        }
        if (oilAllowanceNightythird !== "" && oilAllowanceNightythird !== null) {
          sumPrice = sumPrice + parseFloat(oilAllowanceNightythird);
        }
        if (livingAllowanceEightyei !== "" && livingAllowanceEightyei !== null) {
          sumPrice = sumPrice + parseFloat(livingAllowanceEightyei);
        }
        if (livingAllowanceNightyfo !== "" && livingAllowanceNightyfo !== null) {
          sumPrice = sumPrice + parseFloat(livingAllowanceNightyfo);
        }
        if (foodAllowanceEightyeight !== "" && foodAllowanceEightyeight !== null) {
          sumPrice = sumPrice + parseFloat(foodAllowanceEightyeight);
        }
        if (oilAllowanceNightytwo !== "" && oilAllowanceNightytwo !== null) {
          sumPrice = sumPrice + parseFloat(oilAllowanceNightytwo);
        }
        if (meatLlowance !== "" && meatLlowance !== null) {
          sumPrice = sumPrice + parseFloat(meatLlowance);
        }
        if (livingAllowanceEightyfive !== "" && livingAllowanceEightyfive !== null) {
          sumPrice = sumPrice + parseFloat(livingAllowanceEightyfive);
        }
        if (livingAllowanceNightytw !== "" && livingAllowanceNightytw !== null) {
          sumPrice = sumPrice + parseFloat(livingAllowanceNightytw);
        }
        if (livingAllowanceNightyfive !== "" && livingAllowanceNightyfive !== null) {
          sumPrice = sumPrice + parseFloat(livingAllowanceNightyfive);
        }
        return parseFloat(sumPrice).toFixed(2);
      },
      //增加机制补贴合计
      resultD() {
        let livingAllowanceNightysix = this.dataForm.livingAllowanceNightysix; //1996年增加生活补贴
        let livingAllowanceNightysev = this.dataForm.livingAllowanceNightysev; //1997年增加生活补贴
        let livingAllowanceNightyeig = this.dataForm.livingAllowanceNightyeig; //1998年增加生活补贴
        let livingAllowanceNightynig = this.dataForm.livingAllowanceNightynig; //1999年增加生活补贴
        let livingAllowanceZero = this.dataForm.livingAllowanceZero; //2000年增加生活补贴
        let livingAllowanceOne = this.dataForm.livingAllowanceOne; //2001年增加生活补贴
        let livingAllowanceTwo = this.dataForm.livingAllowanceTwo; //2002年增加生活补贴
        let livingAllowanceThird = this.dataForm.livingAllowanceThird; //2003年增加机制补贴
        let livingAllowanceFour = this.dataForm.livingAllowanceFour; //2004年增加机制补贴

        let sumMechanism = 0;
        if (livingAllowanceNightysix !== "" && livingAllowanceNightysix !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceNightysix);
        }
        if (livingAllowanceNightysev !== "" && livingAllowanceNightysev !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceNightysev);
        }
        if (livingAllowanceNightyeig !== "" && livingAllowanceNightyeig !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceNightyeig);
        }
        if (livingAllowanceNightynig !== "" && livingAllowanceNightynig !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceNightynig);
        }
        if (livingAllowanceZero !== "" && livingAllowanceZero !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceZero);
        }
        if (livingAllowanceOne !== "" && livingAllowanceOne !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceOne);
        }
        if (livingAllowanceTwo !== "" && livingAllowanceTwo !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceTwo);
        }
        if (livingAllowanceThird !== "" && livingAllowanceThird !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceThird);
        }
        if (livingAllowanceFour !== "" && livingAllowanceFour !== null) {
          sumMechanism = sumMechanism + parseFloat(livingAllowanceFour);
        }
        return parseFloat(sumMechanism).toFixed(2);
      },
      //折扣职务补贴
      resultE() {
        let txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
        if(txfjfbl === null || txfjfbl === "")
        {
          txfjfbl = 0;
        }
        let bl = parseFloat(txfjfbl)/100;
        
        let totalSubsidy = this.dataForm.totalSubsidy; //职务补贴
        let sumDiscount = 0;
        if (totalSubsidy !== "" && totalSubsidy !== null) {
          sumDiscount = parseFloat(totalSubsidy) * bl;
          sumDiscount = Math.ceil(sumDiscount);
        }
        return parseFloat(sumDiscount).toFixed(2);
      },
      //增加生活机制（补贴）合计
      resultF() {
        let livingAllowanceSeven = this.dataForm.livingAllowanceSeven; //2007年增加生活补贴
        let jobSubsidy = this.dataForm.jobSubsidy; //2010年职务补贴
        let ageAllowance = this.dataForm.ageAllowance; //2010年年龄补贴
        let retirementAllowanceOneo = this.dataForm.retirementAllowanceOneo; //2011年退休补贴
        let workingYearsSubsidy = this.dataForm.workingYearsSubsidy; //2012年工作年限补贴
        let proportionalSubsidy = this.dataForm.proportionalSubsidy; //2012年提高比例补贴
        let growthMechanismThirty = this.dataForm.growthMechanismThirty; //2013年增长机制补贴
        let retirementAllowanceOneth = this.dataForm.retirementAllowanceOneth; //2013年退休补贴
        let retirementAllowanceThirty = this.dataForm.retirementAllowanceThirty; //2014年退休补贴
        let retirementPayNineteen = this.dataForm.retirementPayNineteen;//2019年1月调整待遇
        let retirementPayTwentyseven = this.dataForm.retirementPayTwentyseven;//2021年7月增加退休补贴
        
        let sumMeleft = 0;
        if (livingAllowanceSeven !== "" && livingAllowanceSeven !== null) {
          sumMeleft = sumMeleft + parseFloat(livingAllowanceSeven);
        }
        if (jobSubsidy !== "" && jobSubsidy !== null) {
          sumMeleft = sumMeleft + parseFloat(jobSubsidy);
        }
        if (ageAllowance !== "" && ageAllowance !== null) {
          sumMeleft = sumMeleft + parseFloat(ageAllowance);
        }
        if (retirementAllowanceOneo !== "" && retirementAllowanceOneo !== null) {
          sumMeleft = sumMeleft + parseFloat(retirementAllowanceOneo);
        }
        if (workingYearsSubsidy !== "" && workingYearsSubsidy !== null) {
          sumMeleft = sumMeleft + parseFloat(workingYearsSubsidy);
        }
        if (proportionalSubsidy !== "" && proportionalSubsidy !== null) {
          sumMeleft = sumMeleft + parseFloat(proportionalSubsidy);
        }
        if (growthMechanismThirty !== "" && growthMechanismThirty !== null) {
          sumMeleft = sumMeleft + parseFloat(growthMechanismThirty);
        }
        if (retirementAllowanceOneth !== "" && retirementAllowanceOneth !== null) {
          sumMeleft = sumMeleft + parseFloat(retirementAllowanceOneth);
        }
        if (retirementAllowanceThirty !== "" && retirementAllowanceThirty !== null) {
          sumMeleft = sumMeleft + parseFloat(retirementAllowanceThirty);
        }
        if (retirementPayNineteen !== "" && retirementPayNineteen !== null) {
          sumMeleft = sumMeleft + parseFloat(retirementPayNineteen);
        }
        if (retirementPayTwentyseven !== "" && retirementPayTwentyseven !== null) {
          sumMeleft = sumMeleft + parseFloat(retirementPayTwentyseven);
        }
      
        return parseFloat(sumMeleft).toFixed(2);
      },
      //其它合计
      resultG() {
        let paperMoney = this.dataForm.paperMoney; //书报费
        let bathSubsidy = this.dataForm.bathSubsidy; //洗理费
        let housingSubsidy = this.dataForm.housingSubsidy; //住房补贴
        let otherIncome = this.dataForm.otherIncome; //其它收入
        let honorAllowance = this.dataForm.honorAllowance; //荣誉津贴
        let serviceSubsidy = this.dataForm.serviceSubsidy; //物业服务补贴
        let sumOther = 0;
        if (paperMoney !== "" && paperMoney !== null) {
          sumOther = sumOther + parseFloat(paperMoney);
        }
        if (bathSubsidy !== "" && bathSubsidy !== null) {
          sumOther = sumOther + parseFloat(bathSubsidy);
        }
        if (housingSubsidy !== "" && housingSubsidy !== null) {
          sumOther = sumOther + parseFloat(housingSubsidy);
        }
        if (otherIncome !== "" && otherIncome !== null) {
          sumOther = sumOther + parseFloat(otherIncome);
        }
        if (honorAllowance !== "" && honorAllowance !== null) {
          sumOther = sumOther + parseFloat(honorAllowance);
        }
        if (serviceSubsidy !== "" && serviceSubsidy !== null) {
          sumOther = sumOther + parseFloat(serviceSubsidy);
        }
        return parseFloat(sumOther).toFixed(2);
      },
      //自动生成退休费
      resultH() {
        let resultA = this.resultA;
        let resultB = this.resultB;
        let resultC = this.resultC;
        let resultF = this.resultF;
        let resultG = this.resultG;
        let sum = 0;
        if (resultA !== "" && resultA !== null) {
          sum = sum + parseFloat(resultA);
        }
        if (resultB !== "" && resultB !== null) {
          sum = sum + parseFloat(resultB);
        }
        if (resultC !== "" && resultC !== null) {
          sum = sum + parseFloat(resultC);
        }
        if (resultF !== "" && resultF !== null) {
          sum = sum + parseFloat(resultF);
        }
        if (resultG !== "" && resultG !== null) {
          sum = sum + parseFloat(resultG);
        }
        return sum;
      },
      //退休费的差额
      resultI() {
        let resultH = this.resultH;
        let totalMonthlyPension = this.dataForm.totalMonthlyPension;
        let sum = 0;
        if (resultH !== "" && resultH !== null && totalMonthlyPension !== "" && totalMonthlyPension !== null ) {
          sum = parseFloat(resultH) - parseFloat(totalMonthlyPension);
        }
        return parseFloat(sum).toFixed(2);
      },

    },
    methods: {
      openChangeTital() {
        if (this.dataForm.id == 0) {
          this.isTitle = "新增";
        } else if (this.isDisabled) {
          this.isTitle = "查看";
        } else {
          this.isTitle = "修改";
        }
      },
      viewShow(id){
        this.dataForm.id = id || 0;
        this.visible = true;
        this.$nextTick(() => {
          this.$refs["dataForm"].resetFields();
          if (this.dataForm.id) {
            this.$http({
              url: this.$http.adornUrl(
                `/jxxm/oldworker/info/${this.dataForm.id}`
              ),
              method: "get",
              params: this.$http.adornParams(),
            }).then(({ data }) => {
              if (data && data.code === 0) {
                this.dataForm.areaCode = data.oldWorker.areaCode
                this.dataForm.personalCode = data.oldWorker.personalCode
                this.dataForm.name = data.oldWorker.name
                this.dataForm.sex = data.oldWorker.sex
                this.dataForm.nation = data.oldWorker.nation
                this.dataForm.politicalFace = data.oldWorker.politicalFace
                this.dataForm.idNo = data.oldWorker.idNo
                this.dataForm.birthDate = data.oldWorker.birthDate
                this.dataForm.workTime = data.oldWorker.workTime
                this.dataForm.retirementTime = data.oldWorker.retirementTime
                this.dataForm.retirementStatus = data.oldWorker.retirementStatus
                this.dataForm.duties = data.oldWorker.duties
                this.dataForm.county = data.oldWorker.county
                this.dataForm.street = data.oldWorker.street
                this.dataForm.community = data.oldWorker.community
                this.dataForm.originalTroops = data.oldWorker.originalTroops
                this.dataForm.handoverPeriod = data.oldWorker.handoverPeriod
                this.dataForm.handoverTime = data.oldWorker.handoverTime
                this.dataForm.handoverMode = data.oldWorker.handoverMode
                this.dataForm.handoverBatch = data.oldWorker.handoverBatch
                this.dataForm.workersClassification = data.oldWorker.workersClassification
                this.dataForm.reception = data.oldWorker.reception
                this.dataForm.myStatus = data.oldWorker.myStatus
                this.dataForm.inOutTime = data.oldWorker.inOutTime
                this.dataForm.deathTime = data.oldWorker.deathTime
                this.dataForm.housingSituation = data.oldWorker.housingSituation
                this.dataForm.housingPropertyRight = data.oldWorker.housingPropertyRight
                this.dataForm.leaseholder = data.oldWorker.leaseholder
                this.dataForm.housingArea = data.oldWorker.housingArea
                this.dataForm.increasePension = data.oldWorker.increasePension
                this.dataForm.totalMonthlyPension = data.oldWorker.totalMonthlyPension
                this.dataForm.death = data.oldWorker.death
                this.dataForm.workUnit = data.oldWorker.workUnit
                this.dataForm.address = data.oldWorker.address
                this.dataForm.phone = data.oldWorker.phone
                this.dataForm.remarks = data.oldWorker.remarks
                this.dataForm.workingYears = data.oldWorker.workingYears
                this.dataForm.workingYearsArmy = data.oldWorker.workingYearsArmy
                this.dataForm.teachingAge = data.oldWorker.teachingAge
                this.dataForm.wageLevel = data.oldWorker.wageLevel
                this.dataForm.wageGrade = data.oldWorker.wageGrade
                this.dataForm.wageScale = data.oldWorker.wageScale
                this.dataForm.treatmentStandard = data.oldWorker.treatmentStandard
                this.dataForm.personnelClassification = data.oldWorker.personnelClassification
                this.dataForm.enjoyAllowance = data.oldWorker.enjoyAllowance
                this.dataForm.specialAllowance = data.oldWorker.specialAllowance
                this.dataForm.increaseProportion = data.oldWorker.increaseProportion
                this.dataForm.renson = data.oldWorker.renson
                this.dataForm.allowanceRatio = data.oldWorker.allowanceRatio
                this.dataForm.postLevel = data.oldWorker.postLevel
                this.dataForm.salary = data.oldWorker.salary
                this.dataForm.isImprove = data.oldWorker.isImprove
                this.dataForm.retirementFeeProportion = data.oldWorker.retirementFeeProportion
                this.dataForm.senioritySalary = data.oldWorker.senioritySalary
                this.dataForm.basicSalary = data.oldWorker.basicSalary
                this.dataForm.levelSalary = data.oldWorker.levelSalary
                this.dataForm.gradeSalary = data.oldWorker.gradeSalary
                this.dataForm.salaryScale = data.oldWorker.salaryScale
                this.dataForm.bonusAllowance = data.oldWorker.bonusAllowance
                this.dataForm.serviceAllowance = data.oldWorker.serviceAllowance
                this.dataForm.seniorityAllowance = data.oldWorker.seniorityAllowance
                this.dataForm.totalSubsidy = data.oldWorker.totalSubsidy
                this.dataForm.specialTeacherSubsidy = data.oldWorker.specialTeacherSubsidy
                this.dataForm.difficultySubsidy = data.oldWorker.difficultySubsidy
                this.dataForm.raiseWages = data.oldWorker.raiseWages
                this.dataForm.retirementPayEightynine = data.oldWorker.retirementPayEightynine
                this.dataForm.retirementPayNinetytwo = data.oldWorker.retirementPayNinetytwo
                this.dataForm.retirementPayFirst = data.oldWorker.retirementPayFirst
                this.dataForm.retirementPaySecond = data.oldWorker.retirementPaySecond
                this.dataForm.retirementPayNinetyfive = data.oldWorker.retirementPayNinetyfive
                this.dataForm.retirementPayNinetyseven = data.oldWorker.retirementPayNinetyseven
                this.dataForm.retirementPayNinetysesec = data.oldWorker.retirementPayNinetysesec
                this.dataForm.retirementPayNinetynine = data.oldWorker.retirementPayNinetynine
                this.dataForm.retirementPayNinetynisec = data.oldWorker.retirementPayNinetynisec
                this.dataForm.retirementPayZero = data.oldWorker.retirementPayZero
                this.dataForm.retirementPayOne = data.oldWorker.retirementPayOne
                this.dataForm.retirementPayOnenew = data.oldWorker.retirementPayOnenew
                this.dataForm.retirementPayOnsec = data.oldWorker.retirementPayOnsec
                this.dataForm.retirementPayThird = data.oldWorker.retirementPayThird
                this.dataForm.retirementPayThisec = data.oldWorker.retirementPayThisec
                this.dataForm.retirementPayFive = data.oldWorker.retirementPayFive
                this.dataForm.retirementPaySix = data.oldWorker.retirementPaySix
                this.dataForm.foodAllowanceSeventynine = data.oldWorker.foodAllowanceSeventynine
                this.dataForm.foodAllowanceEightyeight = data.oldWorker.foodAllowanceEightyeight
                this.dataForm.oilAllowanceNightyone = data.oldWorker.oilAllowanceNightyone
                this.dataForm.oilAllowanceNightytwo = data.oldWorker.oilAllowanceNightytwo
                this.dataForm.fuelLlowance = data.oldWorker.fuelLlowance
                this.dataForm.meatLlowance = data.oldWorker.meatLlowance
                this.dataForm.oilAllowanceNightythird = data.oldWorker.oilAllowanceNightythird
                this.dataForm.livingAllowanceEightyfive = data.oldWorker.livingAllowanceEightyfive
                this.dataForm.livingAllowanceEightyei = data.oldWorker.livingAllowanceEightyei
                this.dataForm.livingAllowanceNightytw = data.oldWorker.livingAllowanceNightytw
                this.dataForm.livingAllowanceNightyfo = data.oldWorker.livingAllowanceNightyfo
                this.dataForm.livingAllowanceNightyfive = data.oldWorker.livingAllowanceNightyfive
                this.dataForm.livingAllowanceNightysix = data.oldWorker.livingAllowanceNightysix
                this.dataForm.livingAllowanceNightysev = data.oldWorker.livingAllowanceNightysev
                this.dataForm.livingAllowanceNightyeig = data.oldWorker.livingAllowanceNightyeig
                this.dataForm.livingAllowanceNightynig = data.oldWorker.livingAllowanceNightynig
                this.dataForm.livingAllowanceZero = data.oldWorker.livingAllowanceZero
                this.dataForm.livingAllowanceOne = data.oldWorker.livingAllowanceOne
                this.dataForm.livingAllowanceTwo = data.oldWorker.livingAllowanceTwo
                this.dataForm.livingAllowanceThird = data.oldWorker.livingAllowanceThird
                this.dataForm.livingAllowanceFour = data.oldWorker.livingAllowanceFour
                this.dataForm.livingAllowanceSeven = data.oldWorker.livingAllowanceSeven
                this.dataForm.specialGoveAllowanc = data.oldWorker.specialGoveAllowanc
                this.dataForm.paperMoney = data.oldWorker.paperMoney
                this.dataForm.housingSubsidy = data.oldWorker.housingSubsidy
                this.dataForm.bathSubsidy = data.oldWorker.bathSubsidy
                this.dataForm.honorAllowance = data.oldWorker.honorAllowance
                this.dataForm.otherIncome = data.oldWorker.otherIncome
                this.dataForm.jobSubsidy = data.oldWorker.jobSubsidy
                this.dataForm.ageAllowance = data.oldWorker.ageAllowance
                this.dataForm.holidaySubsidy = data.oldWorker.holidaySubsidy
                this.dataForm.retirementAllowanceOneo = data.oldWorker.retirementAllowanceOneo
                this.dataForm.growthMechanismSubsidy = data.oldWorker.growthMechanismSubsidy
                this.dataForm.workingYearsSubsidy = data.oldWorker.workingYearsSubsidy
                this.dataForm.proportionalSubsidy = data.oldWorker.proportionalSubsidy
                this.dataForm.retirementAllowanceOneth = data.oldWorker.retirementAllowanceOneth
                this.dataForm.growthMechanismThirty = data.oldWorker.growthMechanismThirty
                this.dataForm.retirementAllowanceThirty = data.oldWorker.retirementAllowanceThirty
                this.dataForm.retirementPayFourty = data.oldWorker.retirementPayFourty
                this.dataForm.logoutDate = data.oldWorker.logoutDate
                this.dataForm.heatingSubsidy = data.oldWorker.heatingSubsidy
                this.dataForm.serviceSubsidy = data.oldWorker.serviceSubsidy
                this.dataForm.pensionSixteen = data.oldWorker.pensionSixteen
                this.dataForm.retirementPayEighteen = data.oldWorker.retirementPayEighteen
                this.dataForm.retirementPayNineteen = data.oldWorker.retirementPayNineteen
                this.dataForm.retirementPayTwentyseven = data.oldWorker.retirementPayTwentyseven
                this.dataForm.retirementPayTwentyten = data.oldWorker.retirementPayTwentyten
                this.dataForm.personType = data.oldWorker.personType
                this.dataForm.state = data.oldWorker.state
              }
              this.dataHandle(
                this.dataForm.myStatus,
                this.dataForm.retirementTime,
                this.dataForm.increaseProportion
              );
            });
          } else {
            this.dataHandle(
              this.dataForm.myStatus,
              this.dataForm.retirementTime,
              this.dataForm.increaseProportion
            );
          }
        });
        this.isDisabled = true;
        this.visibleLine = "none";
      },
      init (id) {
        this.dataForm.id = id || 0
        this.visible = true
        this.$nextTick(() => {
          this.$refs['dataForm'].resetFields()
          if (this.dataForm.id) {
            this.$http({
              url: this.$http.adornUrl(`/jxxm/oldworker/info/${this.dataForm.id}`),
              method: 'get',
              params: this.$http.adornParams()
            }).then(({data}) => {
              if (data && data.code === 0) {
                this.dataForm.areaCode = data.oldWorker.areaCode
                this.dataForm.personalCode = data.oldWorker.personalCode
                this.dataForm.name = data.oldWorker.name
                this.dataForm.sex = data.oldWorker.sex
                this.dataForm.nation = data.oldWorker.nation
                this.dataForm.politicalFace = data.oldWorker.politicalFace
                this.dataForm.idNo = data.oldWorker.idNo
                this.dataForm.birthDate = data.oldWorker.birthDate
                this.dataForm.workTime = data.oldWorker.workTime
                this.dataForm.retirementTime = data.oldWorker.retirementTime
                this.dataForm.retirementStatus = data.oldWorker.retirementStatus
                this.dataForm.duties = data.oldWorker.duties
                this.dataForm.county = data.oldWorker.county
                this.dataForm.street = data.oldWorker.street
                this.dataForm.community = data.oldWorker.community
                this.dataForm.originalTroops = data.oldWorker.originalTroops
                this.dataForm.handoverPeriod = data.oldWorker.handoverPeriod
                this.dataForm.handoverTime = data.oldWorker.handoverTime
                this.dataForm.handoverMode = data.oldWorker.handoverMode
                this.dataForm.handoverBatch = data.oldWorker.handoverBatch
                this.dataForm.workersClassification = data.oldWorker.workersClassification
                this.dataForm.reception = data.oldWorker.reception
                this.dataForm.myStatus = data.oldWorker.myStatus
                this.dataForm.inOutTime = data.oldWorker.inOutTime
                this.dataForm.deathTime = data.oldWorker.deathTime
                this.dataForm.housingSituation = data.oldWorker.housingSituation
                this.dataForm.housingPropertyRight = data.oldWorker.housingPropertyRight
                this.dataForm.leaseholder = data.oldWorker.leaseholder
                this.dataForm.housingArea = data.oldWorker.housingArea
                this.dataForm.increasePension = data.oldWorker.increasePension
                this.dataForm.totalMonthlyPension = data.oldWorker.totalMonthlyPension
                this.dataForm.death = data.oldWorker.death
                this.dataForm.workUnit = data.oldWorker.workUnit
                this.dataForm.address = data.oldWorker.address
                this.dataForm.phone = data.oldWorker.phone
                this.dataForm.remarks = data.oldWorker.remarks
                this.dataForm.workingYears = data.oldWorker.workingYears
                this.dataForm.workingYearsArmy = data.oldWorker.workingYearsArmy
                this.dataForm.teachingAge = data.oldWorker.teachingAge
                this.dataForm.wageLevel = data.oldWorker.wageLevel
                this.dataForm.wageGrade = data.oldWorker.wageGrade
                this.dataForm.wageScale = data.oldWorker.wageScale
                this.dataForm.treatmentStandard = data.oldWorker.treatmentStandard
                this.dataForm.personnelClassification = data.oldWorker.personnelClassification
                this.dataForm.enjoyAllowance = data.oldWorker.enjoyAllowance
                this.dataForm.specialAllowance = data.oldWorker.specialAllowance
                this.dataForm.increaseProportion = data.oldWorker.increaseProportion
                this.dataForm.renson = data.oldWorker.renson
                this.dataForm.allowanceRatio = data.oldWorker.allowanceRatio
                this.dataForm.postLevel = data.oldWorker.postLevel
                this.dataForm.salary = data.oldWorker.salary
                this.dataForm.isImprove = data.oldWorker.isImprove
                this.dataForm.retirementFeeProportion = data.oldWorker.retirementFeeProportion
                this.dataForm.senioritySalary = data.oldWorker.senioritySalary
                this.dataForm.basicSalary = data.oldWorker.basicSalary
                this.dataForm.levelSalary = data.oldWorker.levelSalary
                this.dataForm.gradeSalary = data.oldWorker.gradeSalary
                this.dataForm.salaryScale = data.oldWorker.salaryScale
                this.dataForm.bonusAllowance = data.oldWorker.bonusAllowance
                this.dataForm.serviceAllowance = data.oldWorker.serviceAllowance
                this.dataForm.seniorityAllowance = data.oldWorker.seniorityAllowance
                this.dataForm.totalSubsidy = data.oldWorker.totalSubsidy
                this.dataForm.specialTeacherSubsidy = data.oldWorker.specialTeacherSubsidy
                this.dataForm.difficultySubsidy = data.oldWorker.difficultySubsidy
                this.dataForm.raiseWages = data.oldWorker.raiseWages
                this.dataForm.retirementPayEightynine = data.oldWorker.retirementPayEightynine
                this.dataForm.retirementPayNinetytwo = data.oldWorker.retirementPayNinetytwo
                this.dataForm.retirementPayFirst = data.oldWorker.retirementPayFirst
                this.dataForm.retirementPaySecond = data.oldWorker.retirementPaySecond
                this.dataForm.retirementPayNinetyfive = data.oldWorker.retirementPayNinetyfive
                this.dataForm.retirementPayNinetyseven = data.oldWorker.retirementPayNinetyseven
                this.dataForm.retirementPayNinetysesec = data.oldWorker.retirementPayNinetysesec
                this.dataForm.retirementPayNinetynine = data.oldWorker.retirementPayNinetynine
                this.dataForm.retirementPayNinetynisec = data.oldWorker.retirementPayNinetynisec
                this.dataForm.retirementPayZero = data.oldWorker.retirementPayZero
                this.dataForm.retirementPayOne = data.oldWorker.retirementPayOne
                this.dataForm.retirementPayOnenew = data.oldWorker.retirementPayOnenew
                this.dataForm.retirementPayOnsec = data.oldWorker.retirementPayOnsec
                this.dataForm.retirementPayThird = data.oldWorker.retirementPayThird
                this.dataForm.retirementPayThisec = data.oldWorker.retirementPayThisec
                this.dataForm.retirementPayFive = data.oldWorker.retirementPayFive
                this.dataForm.retirementPaySix = data.oldWorker.retirementPaySix
                this.dataForm.foodAllowanceSeventynine = data.oldWorker.foodAllowanceSeventynine
                this.dataForm.foodAllowanceEightyeight = data.oldWorker.foodAllowanceEightyeight
                this.dataForm.oilAllowanceNightyone = data.oldWorker.oilAllowanceNightyone
                this.dataForm.oilAllowanceNightytwo = data.oldWorker.oilAllowanceNightytwo
                this.dataForm.fuelLlowance = data.oldWorker.fuelLlowance
                this.dataForm.meatLlowance = data.oldWorker.meatLlowance
                this.dataForm.oilAllowanceNightythird = data.oldWorker.oilAllowanceNightythird
                this.dataForm.livingAllowanceEightyfive = data.oldWorker.livingAllowanceEightyfive
                this.dataForm.livingAllowanceEightyei = data.oldWorker.livingAllowanceEightyei
                this.dataForm.livingAllowanceNightytw = data.oldWorker.livingAllowanceNightytw
                this.dataForm.livingAllowanceNightyfo = data.oldWorker.livingAllowanceNightyfo
                this.dataForm.livingAllowanceNightyfive = data.oldWorker.livingAllowanceNightyfive
                this.dataForm.livingAllowanceNightysix = data.oldWorker.livingAllowanceNightysix
                this.dataForm.livingAllowanceNightysev = data.oldWorker.livingAllowanceNightysev
                this.dataForm.livingAllowanceNightyeig = data.oldWorker.livingAllowanceNightyeig
                this.dataForm.livingAllowanceNightynig = data.oldWorker.livingAllowanceNightynig
                this.dataForm.livingAllowanceZero = data.oldWorker.livingAllowanceZero
                this.dataForm.livingAllowanceOne = data.oldWorker.livingAllowanceOne
                this.dataForm.livingAllowanceTwo = data.oldWorker.livingAllowanceTwo
                this.dataForm.livingAllowanceThird = data.oldWorker.livingAllowanceThird
                this.dataForm.livingAllowanceFour = data.oldWorker.livingAllowanceFour
                this.dataForm.livingAllowanceSeven = data.oldWorker.livingAllowanceSeven
                this.dataForm.specialGoveAllowanc = data.oldWorker.specialGoveAllowanc
                this.dataForm.paperMoney = data.oldWorker.paperMoney
                this.dataForm.housingSubsidy = data.oldWorker.housingSubsidy
                this.dataForm.bathSubsidy = data.oldWorker.bathSubsidy
                this.dataForm.honorAllowance = data.oldWorker.honorAllowance
                this.dataForm.otherIncome = data.oldWorker.otherIncome
                this.dataForm.jobSubsidy = data.oldWorker.jobSubsidy
                this.dataForm.ageAllowance = data.oldWorker.ageAllowance
                this.dataForm.holidaySubsidy = data.oldWorker.holidaySubsidy
                this.dataForm.retirementAllowanceOneo = data.oldWorker.retirementAllowanceOneo
                this.dataForm.growthMechanismSubsidy = data.oldWorker.growthMechanismSubsidy
                this.dataForm.workingYearsSubsidy = data.oldWorker.workingYearsSubsidy
                this.dataForm.proportionalSubsidy = data.oldWorker.proportionalSubsidy
                this.dataForm.retirementAllowanceOneth = data.oldWorker.retirementAllowanceOneth
                this.dataForm.growthMechanismThirty = data.oldWorker.growthMechanismThirty
                this.dataForm.retirementAllowanceThirty = data.oldWorker.retirementAllowanceThirty
                this.dataForm.retirementPayFourty = data.oldWorker.retirementPayFourty
                this.dataForm.logoutDate = data.oldWorker.logoutDate
                this.dataForm.heatingSubsidy = data.oldWorker.heatingSubsidy
                this.dataForm.serviceSubsidy = data.oldWorker.serviceSubsidy
                this.dataForm.pensionSixteen = data.oldWorker.pensionSixteen
                this.dataForm.retirementPayEighteen = data.oldWorker.retirementPayEighteen
                this.dataForm.retirementPayNineteen = data.oldWorker.retirementPayNineteen
                this.dataForm.retirementPayTwentyseven = data.oldWorker.retirementPayTwentyseven
                this.dataForm.retirementPayTwentyten = data.oldWorker.retirementPayTwentyten
                this.dataForm.personType = data.oldWorker.personType
                this.dataForm.state = data.oldWorker.state
                }
                this.dataHandle(
                  this.dataForm.myStatus,
                  this.dataForm.retirementTime,
                  this.dataForm.increaseProportion
                );
              });
          } else {
            this.dataHandle(
              this.dataForm.myStatus,
              this.dataForm.retirementTime,
              this.dataForm.increaseProportion
            );
          }
        })
        this.isDisabled = false;
        this.visibleLine = "";
      },
      // 表单提交
      dataFormSubmit () {
        this.$refs['dataForm'].validate((valid) => {
          if (valid) {
            this.$http({
              url: this.$http.adornUrl(`/jxxm/oldworker/${!this.dataForm.id ? 'save' : 'update'}`),
              method: 'post',
              data: this.$http.adornData({
                'id': this.dataForm.id || undefined,
                'areaCode': this.dataForm.areaCode,
                'personalCode': this.dataForm.personalCode,
                'name': this.dataForm.name,
                'sex': this.dataForm.sex,
                'nation': this.dataForm.nation,
                'politicalFace': this.dataForm.politicalFace,
                'idNo': this.dataForm.idNo,
                'birthDate': this.dataForm.birthDate,
                'workTime': this.dataForm.workTime,
                'retirementTime': this.dataForm.retirementTime,
                'retirementStatus': this.dataForm.retirementStatus,
                'duties': this.dataForm.duties,
                'county': this.dataForm.county,
                'street': this.dataForm.street,
                'community': this.dataForm.community,
                'originalTroops': this.dataForm.originalTroops,
                'handoverPeriod': this.dataForm.handoverPeriod,
                'handoverTime': this.dataForm.handoverTime,
                'handoverMode': this.dataForm.handoverMode,
                'handoverBatch': this.dataForm.handoverBatch,
                'workersClassification': this.dataForm.workersClassification,
                'reception': this.dataForm.reception,
                'myStatus': this.dataForm.myStatus,
                'inOutTime': this.dataForm.inOutTime,
                'deathTime': this.dataForm.deathTime,
                'housingSituation': this.dataForm.housingSituation,
                'housingPropertyRight': this.dataForm.housingPropertyRight,
                'leaseholder': this.dataForm.leaseholder,
                'housingArea': this.dataForm.housingArea,
                'increasePension': this.dataForm.increasePension,
                'totalMonthlyPension': this.dataForm.totalMonthlyPension || 0,
                'death': this.dataForm.death,
                'workUnit': this.dataForm.workUnit,
                'address': this.dataForm.address,
                'phone': this.dataForm.phone,
                'remarks': this.dataForm.remarks,
                'workingYears': this.dataForm.workingYears,
                'workingYearsArmy': this.dataForm.workingYearsArmy,
                'teachingAge': this.dataForm.teachingAge || 0,
                'wageLevel': this.dataForm.wageLevel,
                'wageGrade': this.dataForm.wageGrade,
                'wageScale': this.dataForm.wageScale,
                'treatmentStandard': this.dataForm.treatmentStandard,
                'personnelClassification': this.dataForm.personnelClassification,
                'enjoyAllowance': this.dataForm.enjoyAllowance,
                'specialAllowance': this.dataForm.specialAllowance,
                'increaseProportion': this.dataForm.increaseProportion || 0,
                'renson': this.dataForm.renson,
                'allowanceRatio': this.dataForm.allowanceRatio,
                'postLevel': this.dataForm.postLevel,
                'salary': this.dataForm.salary,
                'isImprove': this.dataForm.isImprove,
                'retirementFeeProportion': this.dataForm.retirementFeeProportion || 100,
                'senioritySalary': this.dataForm.senioritySalary || 0,
                'basicSalary': this.dataForm.basicSalary || 0,
                'levelSalary': this.dataForm.levelSalary || 0,
                'gradeSalary': this.dataForm.gradeSalary || 0,
                'salaryScale': this.dataForm.salaryScale || 0,
                'bonusAllowance': this.dataForm.bonusAllowance || 0,
                'serviceAllowance': this.dataForm.serviceAllowance || 0,
                'seniorityAllowance': this.dataForm.seniorityAllowance || 0,
                'totalSubsidy': this.dataForm.totalSubsidy || 0,
                'specialTeacherSubsidy': this.dataForm.specialTeacherSubsidy || 0,
                'difficultySubsidy': this.dataForm.difficultySubsidy || 0,
                'raiseWages': this.dataForm.raiseWages || 0,
                'retirementPayEightynine': this.dataForm.retirementPayEightynine || 0,
                'retirementPayNinetytwo': this.dataForm.retirementPayNinetytwo || 0,
                'retirementPayFirst': this.dataForm.retirementPayFirst || 0,
                'retirementPaySecond': this.dataForm.retirementPaySecond || 0,
                'retirementPayNinetyfive': this.dataForm.retirementPayNinetyfive || 0,
                'retirementPayNinetyseven': this.dataForm.retirementPayNinetyseven || 0,
                'retirementPayNinetysesec': this.dataForm.retirementPayNinetysesec || 0,
                'retirementPayNinetynine': this.dataForm.retirementPayNinetynine || 0,
                'retirementPayNinetynisec': this.dataForm.retirementPayNinetynisec || 0,
                'retirementPayZero': this.dataForm.retirementPayZero || 0,
                'retirementPayOne': this.dataForm.retirementPayOne || 0,
                'retirementPayOnenew': this.dataForm.retirementPayOnenew || 0,
                'retirementPayOnsec': this.dataForm.retirementPayOnsec || 0,
                'retirementPayThird': this.dataForm.retirementPayThird || 0,
                'retirementPayThisec': this.dataForm.retirementPayThisec || 0,
                'retirementPayFive': this.dataForm.retirementPayFive || 0,
                'retirementPaySix': this.dataForm.retirementPaySix || 0,
                'foodAllowanceSeventynine': this.dataForm.foodAllowanceSeventynine || 0,
                'foodAllowanceEightyeight': this.dataForm.foodAllowanceEightyeight || 0,
                'oilAllowanceNightyone': this.dataForm.oilAllowanceNightyone || 0,
                'oilAllowanceNightytwo': this.dataForm.oilAllowanceNightytwo || 0,
                'fuelLlowance': this.dataForm.fuelLlowance || 0,
                'meatLlowance': this.dataForm.meatLlowance || 0,
                'oilAllowanceNightythird': this.dataForm.oilAllowanceNightythird || 0,
                'livingAllowanceEightyfive': this.dataForm.livingAllowanceEightyfive || 0,
                'livingAllowanceEightyei': this.dataForm.livingAllowanceEightyei || 0,
                'livingAllowanceNightytw': this.dataForm.livingAllowanceNightytw || 0,
                'livingAllowanceNightyfo': this.dataForm.livingAllowanceNightyfo || 0,
                'livingAllowanceNightyfive': this.dataForm.livingAllowanceNightyfive || 0,
                'livingAllowanceNightysix': this.dataForm.livingAllowanceNightysix || 0,
                'livingAllowanceNightysev': this.dataForm.livingAllowanceNightysev || 0,
                'livingAllowanceNightyeig': this.dataForm.livingAllowanceNightyeig || 0,
                'livingAllowanceNightynig': this.dataForm.livingAllowanceNightynig || 0,
                'livingAllowanceZero': this.dataForm.livingAllowanceZero || 0,
                'livingAllowanceOne': this.dataForm.livingAllowanceOne || 0,
                'livingAllowanceTwo': this.dataForm.livingAllowanceTwo || 0,
                'livingAllowanceThird': this.dataForm.livingAllowanceThird || 0,
                'livingAllowanceFour': this.dataForm.livingAllowanceFour || 0,
                'livingAllowanceSeven': this.dataForm.livingAllowanceSeven || 0,
                'specialGoveAllowanc': this.dataForm.specialGoveAllowanc || 0,
                'paperMoney': this.dataForm.paperMoney || 0,
                'housingSubsidy': this.dataForm.housingSubsidy || 0,
                'bathSubsidy': this.dataForm.bathSubsidy || 0,
                'honorAllowance': this.dataForm.honorAllowance || 0,
                'otherIncome': this.dataForm.otherIncome || 0,
                'jobSubsidy': this.dataForm.jobSubsidy || 0,
                'ageAllowance': this.dataForm.ageAllowance || 0,
                'holidaySubsidy': this.dataForm.holidaySubsidy || 0,
                'retirementAllowanceOneo': this.dataForm.retirementAllowanceOneo || 0,
                'growthMechanismSubsidy': this.dataForm.growthMechanismSubsidy || 0,
                'workingYearsSubsidy': this.dataForm.workingYearsSubsidy || 0,
                'proportionalSubsidy': this.dataForm.proportionalSubsidy || 0,
                'retirementAllowanceOneth': this.dataForm.retirementAllowanceOneth || 0,
                'growthMechanismThirty': this.dataForm.growthMechanismThirty || 0,
                'retirementAllowanceThirty': this.dataForm.retirementAllowanceThirty || 0,
                'retirementPayFourty': this.dataForm.retirementPayFourty || 0,
                'logoutDate': this.dataForm.logoutDate,
                'heatingSubsidy': this.dataForm.heatingSubsidy,
                'serviceSubsidy': this.dataForm.serviceSubsidy || 0,
                'pensionSixteen': this.dataForm.pensionSixteen || 0,
                'retirementPayEighteen': this.dataForm.retirementPayEighteen || 0,
                'retirementPayNineteen': this.dataForm.retirementPayNineteen || 0,
                'retirementPayTwentyseven': this.dataForm.retirementPayTwentyseven || 0,
                'retirementPayTwentyten': this.dataForm.retirementPayTwentyten || 0,
                'personType': this.dataForm.personType,
                'state':0
              })
            }).then(({data}) => {
              if (data && data.code === 0) {
                this.$message({
                  message: '操作成功',
                  type: 'success',
                  duration: 1500,
                  onClose: () => {
                    this.visible = false
                    this.$emit('refreshDataList')
                  }
                })
              } else {
                this.$message.error(data.msg)
              }
            })
          }
        })
      },
      dataSex(type) {
        this.$http({
          url: this.$http.adornUrl("/sys/dict/select/" + type),
          method: "get",
          params: this.$http.adornParams(),
        }).then(({ data }) => {
          if (type == "SEX_GROUP") {
            this.sexList = data && data.code === 0 ? data.list : [];
          } else if (type == "EMPLOYEE") {
            this.workersClassificationList =
              data && data.code === 0 ? data.list : [];
          } else if (type == "AREA") {
            this.countyList = data && data.code === 0 ? data.list : [];
          } else if (type == "NATION") {
            this.nationList = data && data.code === 0 ? data.list : [];
          } else if (type == "ZZMM") {
            this.politicalFaceList = data && data.code === 0 ? data.list : [];
          } else if (type == "TXQSF") {
            this.retirementStatusList = data && data.code === 0 ? data.list : [];
          } else if (type == "YBD") {
            this.originalTroopsList = data && data.code === 0 ? data.list : [];
          } else if (type == "YJSJD") {
            this.handoverPeriodList = data && data.code === 0 ? data.list : [];
          } else if (type == "YJFS") {
            this.handoverModeList = data && data.code === 0 ? data.list : [];
          } else if (type == "YJPC") {
            this.handoverBatchList = data && data.code === 0 ? data.list : [];
          } else if (type == "SFXSRYJT") {
            this.enjoyAllowanceList = data && data.code === 0 ? data.list : [];
          } else if (type == "SFXSZFTSJT") {
            this.specialAllowanceList = data && data.code === 0 ? data.list : [];
          } else if (type == "JSQK") {
            this.receptionList = data && data.code === 0 ? data.list : [];
          } else if (type == "BRZT") {
            this.myStatusList = data && data.code === 0 ? data.list : [];
          } else if (type == "DYBZ") {
            this.treatmentStandardList = data && data.code === 0 ? data.list : [];
          } else if (type == "ZFQK") {
            this.housingSituationList = data && data.code === 0 ? data.list : [];
          } else if (type == "ZFCQ") {
            this.housingPropertyRightList =
              data && data.code === 0 ? data.list : [];
          } else if (type == "FWZLR") {
            this.leaseholderList = data && data.code === 0 ? data.list : [];
          } else if (type == "GZSFTG") {
            this.isImproveList = data && data.code === 0 ? data.list : [];
          } else if (type == "JJJTBL") {
            this.allowanceRatioList = data && data.code === 0 ? data.list : [];
          } else if (type == "GGGZDC") {
            this.wageGradeList = data && data.code === 0 ? data.list : [];
          } else if (type == "TGBLYY") {
            this.rensonList = data && data.code === 0 ? data.list : [];
          } else if (type == "DEATH") {
            this.deathList = data && data.code === 0 ? data.list : [];
          } else if (type == "RYFL") {
            this.personTypeList = data && data.code === 0 ? data.list : [];
          }
        });
      },
      //本人状态关联是否死亡
      dataBrzt(val, type) {
        this.$http({
          url: this.$http.adornUrl("/sys/dict/select/" + type),
          method: "get",
          params: this.$http.adornParams(),
        }).then(({ data }) => {
          if (val == "在世" || val == "退回") {
            val = "在世";
            this.deathTimeDisabled = true;
            this.logoutDateDisabled = true;
            
            this.$http({
                url: this.$http.adornUrl("/sys/dict/secondary/" + val),
                method: "get",
                params: this.$http.adornParams(),
              }).then(({ data }) => {
                this.dataForm.death = null;
                this.dataForm.logoutDate = null;
                this.deathList = data && data.code === 0 ? data.list : [];
              })
          } else {
            this.deathTimeDisabled = false;
            this.logoutDateDisabled = false;
            //获取当前时间
            var _this = this;
            let yy = new Date().getFullYear();
            let mm = new Date().getMonth()+1;
            let dd = new Date().getDate();
            _this.gettime = yy+'-'+mm+'-'+dd;
            this.dataForm.logoutDate = _this.gettime;

            this.$http({
                url: this.$http.adornUrl("/sys/dict/secondary/" + val),
                method: "get",
                params: this.$http.adornParams(),
              }).then(({ data }) => {
                this.dataForm.death = null;
                this.deathList = data && data.code === 0 ? data.list : [];
              })
          }
        });
      },
      //人员分类关联职工分类
      dataRyfl(val, type) {
        this.$http({
          url: this.$http.adornUrl("/sys/dict/select/" + type),
          method: "get",
          params: this.$http.adornParams(),
        }).then(({ data }) => {
          if (val == "离休干部" ) {
            var types = "EMPLOYEE" 
            this.$http({
                url: this.$http.adornUrl("/sys/dict/select/" + types),
                method: "get",
                params: this.$http.adornParams(),
              }).then(({ data }) => {
                var dataValue = [];
                for (var i=0 ; i<data.list.length;i++)
                {
                  this.workersClassificationList = null;
                  this.dataForm.workersClassification ="";
                  this.dataForm.retirementFeeProportion ="";
                  if(data.list[i].value == "离休")
                  {
                      dataValue.push({
                          id:data.list[i].id,
                          name: data.list[i].name,
                          type: data.list[i].type,
                          code: data.list[i].code,
                          value: data.list[i].value
                      });
                  }
                  
                }
                this.workersClassificationList = dataValue;
                this.dataForm.retirementFeeProportion = 100;
              })
          } else if(val == "建国前老工人") {
            var types = "EMPLOYEE" 
              this.$http({
                  url: this.$http.adornUrl("/sys/dict/select/" + types),
                  method: "get",
                  params: this.$http.adornParams(),
                }).then(({ data }) => {
                  var dataValue = [];
                  for (var i=0 ; i<data.list.length;i++)
                  {
                    this.workersClassificationList = null;
                    this.dataForm.workersClassification ="";
                    this.dataForm.retirementFeeProportion ="";
                    if(data.list[i].value == "退休")
                    {
                        dataValue.push({
                            id:data.list[i].id,
                            name: data.list[i].name,
                            type: data.list[i].type,
                            code: data.list[i].code,
                            value: data.list[i].value
                        });
                    }
                    
                  }
                  this.workersClassificationList = dataValue;
                  this.dataForm.retirementFeeProportion = 100;
                })
          }else
          {
            var types = "EMPLOYEE" 
              this.$http({
                  url: this.$http.adornUrl("/sys/dict/select/" + types),
                  method: "get",
                  params: this.$http.adornParams(),
                }).then(({ data }) => {
                  var dataValue = [];
                  for (var i=0 ; i<data.list.length;i++)
                  {
                    this.workersClassificationList = null;
                    this.dataForm.workersClassification ="";
                    this.dataForm.retirementFeeProportion ="";
                    if(data.list[i].value == "退休" || data.list[i].value == "退职")
                    {
                        dataValue.push({
                            id:data.list[i].id,
                            name: data.list[i].name,
                            type: data.list[i].type,
                            code: data.list[i].code,
                            value: data.list[i].value
                        });
                    }
                    
                  }
                  this.workersClassificationList = dataValue;
                })
          }
        });
      },
      //地区联动专用
      dataArea(val, type) {
        this.$http({
          url: this.$http.adornUrl("/sys/dict/select/" + type),
          method: "get",
          params: this.$http.adornParams(),
        }).then(({ data }) => {
          if (type == "AREA") {
            this.countyList = data && data.code === 0 ? data.list : [];
          } else if (type == "TXQSF") {
            this.retirementStatusList = data && data.code === 0 ? data.list : [];
          }
          this.$http({
            url: this.$http.adornUrl("/sys/dict/secondary/" + val),
            method: "get",
            params: this.$http.adornParams(),
          }).then(({ data }) => {
            if (type == "AREA") {
              this.dataForm.street = null;
              this.streetList = data && data.code === 0 ? data.list : [];
            } else if (type == "TXQSF") {
              this.dataForm.duties = null;
              this.dutiesList = data && data.code === 0 ? data.list : [];
              let vals = "";
              if (val == "技术人员") {
                vals = val + 2;
              } else {
                vals = "其它";
              }
              this.$http({
                url: this.$http.adornUrl("/sys/dict/secondary/" + vals),
                method: "get",
                params: this.$http.adornParams(),
              }).then(({ data }) => {
                this.dataForm.personnelClassification = null;
                this.personnelClassificationList =
                  data && data.code === 0 ? data.list : [];

                let vaks = "";
                vaks = val + 1;
                this.$http({
                  url: this.$http.adornUrl("/sys/dict/secondary/" + vaks),
                  method: "get",
                  params: this.$http.adornParams(),
                }).then(({ data }) => {
                  this.dataForm.postLevel = null;
                  this.postLevelList = data && data.code === 0 ? data.list : [];
                });
              });
            }
          });
        });
      },
      //联动街道
      dataStreet(street) {
        if (street == null || street == "") {
          this.$message.error("请先选择区县");
        } else {
          if (this.streetList == null || this.streetList.length == 0) {
            this.$http({
              url: this.$http.adornUrl("/sys/dict/secondary/" + street),
              method: "get",
              params: this.$http.adornParams(),
            }).then(({ data }) => {
              this.streetList = data && data.code === 0 ? data.list : [];
            });
          }
        }
      },
      //联动退休时职务
      dataduty(duty) {
        if (duty == null || duty == "") {
          this.$message.error("请先选择退休前身份");
        } else {
          if (this.dutiesList == null || this.dutiesList.length == 0) {
            this.$http({
              url: this.$http.adornUrl("/sys/dict/secondary/" + duty),
              method: "get",
              params: this.$http.adornParams(),
            }).then(({ data }) => {
              this.dutiesList = data && data.code === 0 ? data.list : [];
            });
          }
        }
      },
      //联动技术人员分类
      personnelClass(jsryfl) {
        if (jsryfl == null || jsryfl == "") {
          this.$message.error("请先选择退休前身份");
        } else {
          if (
            this.personnelClassificationList == null ||
            this.personnelClassificationList.length == 0
          ) {
            if (jsryfl == "技术人员") {
              jsryfl = jsryfl + 2;
            } else {
              jsryfl = "其它";
            }
            this.$http({
              url: this.$http.adornUrl("/sys/dict/secondary/" + jsryfl),
              method: "get",
              params: this.$http.adornParams(),
            }).then(({ data }) => {
              this.personnelClassificationList =
                data && data.code === 0 ? data.list : [];
            });
          }
        }
      },
      postLevelClass(reValue) {
        if (reValue == null || reValue == "") {
          this.$message.error("请先选择退休前身份");
        } else {
          reValue = reValue + 1;
          this.$http({
            url: this.$http.adornUrl("/sys/dict/secondary/" + reValue),
            method: "get",
            params: this.$http.adornParams(),
          }).then(({ data }) => {
            this.postLevelList = data && data.code === 0 ? data.list : [];
          });
        }
      },
      //身份证号关联
      inputFunc(idNo) {
        if (idNo != null && idNo != "") {
          let iden = idNo;
          let sex = null;
          let birth = null;
          //let myDate = new Date();
          //let month = myDate.getMonth() + 1;
          //let day = myDate.getDate();
          //let age = 0;

          if (iden.length == 18) {
            //age = myDate.getFullYear() - iden.substring(6, 10) - 1;
            sex = iden.substring(16, 17);
            birth =
              iden.substring(6, 10) +
              "-" +
              iden.substring(10, 12) +
              "-" +
              iden.substring(12, 14);
            //if (iden.substring(10, 12) < month || iden.substring(10, 12) == month && iden.substring(12, 14) <= day) age++;
          }
          if (iden.length == 15) {
            //age = myDate.getFullYear() - iden.substring(6, 8) - 1901;
            sex = iden.substring(13, 14);
            birth =
              "19" +
              iden.substring(6, 8) +
              "-" +
              iden.substring(8, 10) +
              "-" +
              iden.substring(10, 12);
            //if (iden.substring(8, 10) < month || iden.substring(8, 10) == month && iden.substring(10, 12) <= day) age++;
          }

          if (sex % 2 === 0) {
            sex = "女";
            let sf = this.dataForm.retirementStatus;
            if (sf == "技术人员" || sf == "职员") {
              let nian = parseInt(birth.substring(0, 4)) + 55;
              let month = parseInt(birth.substring(5, 7));
              this.dataForm.retirementTime =
                nian + "-" + birth.substring(5, 7) + "-" + birth.substring(8, 10);
              if (nian < 2006) {
                this.postLevel = true;
                this.salaryClass = true;
              } else if (nian == 2006 && month < 7) {
                this.postLevel = true;
                this.salaryClass = true;
              } else {
                this.postLevel = false;
                this.salaryClass = false;
              }
              //奖金津贴比例
              if (nian > 2006 || nian < 1993) {
                this.allowanceRatioClass = true;
              } else if (nian == 2006 && month > 6) {
                this.allowanceRatioClass = true;
              } else if (nian == 1993 && month < 10) {
                this.allowanceRatioClass = true;
              } else {
                this.allowanceRatioClass = false;
              }
              //85-06工改工资档次
              if (nian > 2006 || nian < 1985) {
                this.wageGradeClass = true;
              } else if (nian == 2006 && month > 6) {
                this.wageGradeClass = true;
              } else if (nian == 1985 && month < 7) {
                this.wageGradeClass = true;
              } else {
                this.wageGradeClass = false;
              }
            } else if (sf == "技术工人" || sf == "普工") {
              let nian = parseInt(birth.substring(0, 4)) + 50;
              let month = parseInt(birth.substring(5, 7));
              this.dataForm.retirementTime =
                nian + "-" + birth.substring(5, 7) + "-" + birth.substring(8, 10);
              if (nian < 2006) {
                this.postLevel = true;
                this.salaryClass = true;
              } else if (nian == 2006 && month < 7) {
                this.postLevel = true;
                this.salaryClass = true;
              } else {
                this.postLevel = false;
                this.salaryClass = false;
              }
              //奖金津贴比例
              if (nian > 2006 || nian < 1993) {
                this.allowanceRatioClass = true;
              } else if (nian == 2006 && month > 6) {
                this.allowanceRatioClass = true;
              } else if (nian == 1993 && month < 10) {
                this.allowanceRatioClass = true;
              } else {
                this.allowanceRatioClass = false;
              }
              //85-06工改工资档次
              if (nian > 2006 || nian < 1985) {
                this.wageGradeClass = true;
              } else if (nian == 2006 && month > 6) {
                this.wageGradeClass = true;
              } else if (nian == 1985 && month < 7) {
                this.wageGradeClass = true;
              } else {
                this.wageGradeClass = false;
              }
            }
          } else {
            sex = "男";
            let nian = parseInt(birth.substring(0, 4)) + 60;
            let month = parseInt(birth.substring(5, 7));
            this.dataForm.retirementTime =
              nian + "-" + birth.substring(5, 7) + "-" + birth.substring(8, 10);
            if (nian < 2006) {
              this.postLevel = true;
              this.salaryClass = true;
            } else if (nian == 2006 && month < 7) {
              this.postLevel = true;
              this.salaryClass = true;
            } else {
              this.postLevel = false;
              this.salaryClass = false;
            }
            //奖金津贴比例
            if (nian > 2006 || nian < 1993) {
              this.allowanceRatioClass = true;
            } else if (nian == 2006 && month > 6) {
              this.allowanceRatioClass = true;
            } else if (nian == 1993 && month < 10) {
              this.allowanceRatioClass = true;
            } else {
              this.allowanceRatioClass = false;
            }
            //85-06工改工资档次
            if (nian > 2006 || nian < 1985) {
              this.wageGradeClass = true;
            } else if (nian == 2006 && month > 6) {
              this.wageGradeClass = true;
            } else if (nian == 1985 && month < 7) {
              this.wageGradeClass = true;
            } else {
              this.wageGradeClass = false;
            }
          }
          this.dataForm.sex = sex;
          this.dataForm.birthDate = birth;
        }
      },
      //工作开始时间关联工作年份
      inputWork(time) {
        let value = 0;
        if (time != null && time != "") {
          let retime = this.dataForm.retirementTime;
          if (retime != null && retime != "") {
            let month =
              parseInt(retime.substring(5, 7)) +
              1 -
              parseInt(time.substring(5, 7));
            if (month >= 0) {
              value =
                parseInt(retime.substring(0, 4)) - parseInt(time.substring(0, 4));
            } else {
              value =
                parseInt(retime.substring(0, 4)) -
                parseInt(time.substring(0, 4)) -
                1;
            }
            this.dataForm.workingYears = value;
          }
        }
      },
      dataHandle(val, reVal, inPro) {
      if (val != null && val != "") {
        if (val == "在世") {
          this.logoutDateDisabled = true;
          this.deathDisabled = true;
          this.deathTimeDisabled = true;
        } else {
          this.logoutDateDisabled = false;
          this.deathDisabled = false;
          this.deathTimeDisabled = false;
        }
      } else {
        this.logoutDateDisabled = false;
        this.deathDisabled = false;
        this.deathTimeDisabled = false;
      }
      if (reVal != null && reVal != "") {
        let nian = parseInt(reVal.substring(0, 4));
        let month = parseInt(reVal.substring(5, 7));
        if (nian < 2006) {
          this.postLevel = true;
          this.salaryClass = true;
        } else if (nian == 2006 && month < 7) {
          this.postLevel = true;
          this.salaryClass = true;
        } else {
          this.postLevel = false;
          this.salaryClass = false;
        }
        //奖金津贴比例
        if (nian > 2006 || nian < 1993) {
          this.allowanceRatioClass = true;
        } else if (nian == 2006 && month > 6) {
          this.allowanceRatioClass = true;
        } else if (nian == 1993 && month < 10) {
          this.allowanceRatioClass = true;
        } else {
          this.allowanceRatioClass = false;
        }
        //85-06工改工资档次
        if (nian > 2006 || nian < 1985) {
          this.wageGradeClass = true;
        } else if (nian == 2006 && month > 6) {
          this.wageGradeClass = true;
        } else if (nian == 1985 && month < 7) {
          this.wageGradeClass = true;
        } else {
          this.wageGradeClass = false;
        }
      } else {
        this.postLevel = false;
        this.salaryClass = false;
        this.allowanceRatioClass = false;
        this.wageGradeClass = false;
      }
      inPro = parseInt(inPro);
      if (inPro == 0) {
        this.rensonClass = true;
      } else {
        this.rensonClass = false;
      }
    },
      retirement(reTime) {
        if (reTime != null && reTime != "") {
          let nian = parseInt(reTime.substring(0, 4));
          let month = parseInt(reTime.substring(5, 7));
          //06工改和薪级
          if (nian < 2006) {
            this.postLevel = true;
            this.salaryClass = true;
          } else if (nian == 2006 && month < 7) {
            this.postLevel = true;
            this.salaryClass = true;
          } else {
            this.postLevel = false;
            this.salaryClass = false;
          }
          //奖金津贴比例
          if (nian > 2006 || nian < 1993) {
            this.allowanceRatioClass = true;
          } else if (nian == 2006 && month > 6) {
            this.allowanceRatioClass = true;
          } else if (nian == 1993 && month < 10) {
            this.allowanceRatioClass = true;
          } else {
            this.allowanceRatioClass = false;
          }
          //85-06工改工资档次
          if (nian > 2006 || nian < 1985) {
            this.wageGradeClass = true;
          } else if (nian == 2006 && month > 6) {
            this.wageGradeClass = true;
          } else if (nian == 1985 && month < 7) {
            this.wageGradeClass = true;
          } else {
            this.wageGradeClass = false;
          }
        }
      },
      armyWork(army, work) {
        if (army != null && army != "") {
          let value = parseInt(work) - parseInt(army);
          if (value < 0) {
            this.$message.error("在军队工作年限应小于等于工作年限");
            this.dataForm.workingYearsArmy = work;
          }
        }
      },
      dataImprove(val, type) {
        if (val == "是") {
          if (
            this.dataForm.teachingAge != null &&
            this.dataForm.teachingAge != ""
          ) {
            let value = parseInt(this.dataForm.teachingAge);
            if (value <= 0) {
              this.$message.error("教龄必须大于0");
              this.dataForm.isImprove = null;
            }
          } else {
            this.$message.error("教龄必须大于0");
            this.dataForm.isImprove = null;
          }
        }
      },
      inProtion(inValue) {
        if (inValue != null && inValue != "") {
          inValue = parseInt(inValue);
          if (inValue == 0) {
            this.rensonClass = true;
          } else {
            this.rensonClass = false;
          }
        }
      },
      download() {
      if (this.dataForm.id) {
          var data = {
              title:'（1985年工改前退休人员xxx）',
              // id: this.dataForm.id || undefined,
              areaCode: this.dataForm.areaCode,
              personalCode: this.dataForm.personalCode,
              name: this.dataForm.name,
              sex: this.dataForm.sex,
              nation: this.dataForm.nation,
              politicalFace: this.dataForm.politicalFace,
              idNo: this.dataForm.idNo,
              birthDate: this.dataForm.birthDate,
              workTime: this.dataForm.workTime,
              txsj: this.dataForm.retirementTime,
              retirementStatus: this.dataForm.retirementStatus,
              duties: this.dataForm.duties,
              county: this.dataForm.county,
              street: this.dataForm.street,
              community: this.dataForm.community,
              ybd: this.dataForm.originalTroops,
              yjsj: this.dataForm.handoverPeriod,
              handoverTime: this.dataForm.handoverTime,
              handoverMode: this.dataForm.handoverMode,
              handoverBatch: this.dataForm.handoverBatch,
              workersClassification: this.dataForm.workersClassification,
              reception: this.dataForm.reception,
              myStatus: this.dataForm.myStatus,
              inOutTime: this.dataForm.inOutTime,
              deathTime: this.dataForm.deathTime,
              housingSituation: this.dataForm.housingSituation,
              housingPropertyRight: this.dataForm.housingPropertyRight,
              leaseholder: this.dataForm.leaseholder,
              housingArea: this.dataForm.housingArea,
              increasePension: 0.0,
              totalMonthlyPension: this.dataForm.totalMonthlyPension,
              death: this.dataForm.death,
              workUnit: this.dataForm.workUnit,
              address: this.dataForm.address,
              phone: this.dataForm.phone,
              remarks: this.dataForm.remarks,
              workYears: this.dataForm.workingYears,
              yuYue: this.dataForm.yuYue,
              jdgznx: this.dataForm.workingYearsArmy,
              jl: this.dataForm.teachingAge,
              wageLevel: this.dataForm.wageLevel,
              wageGrade: this.dataForm.wageGrade,
              wageScale: this.dataForm.wageScale,
              treatmentStandard: this.dataForm.treatmentStandard,
              personnelClassification: this.dataForm.personnelClassification,
              enjoyAllowance: this.dataForm.enjoyAllowance,
              specialAllowance: this.dataForm.specialAllowance,
              increaseProportion: this.dataForm.increaseProportion,
              renson: this.dataForm.renson,
              allowanceRatio: this.dataForm.allowanceRatio,
              postLevel: this.dataForm.postLevel,
              salary: this.dataForm.salary,
              isImprove: this.dataForm.isImprove,
              jbtxfjfbl: this.dataForm.retirementFeeProportion,
              glgz: this.dataForm.senioritySalary,
              jcgz: this.dataForm.basicSalary,
              jbgz: this.dataForm.levelSalary,
              gwbzgz: this.dataForm.gradeSalary,
              xjgz: this.dataForm.salaryScale,
              jjjt: this.dataForm.bonusAllowance,
              jdfwjt: this.dataForm.serviceAllowance,
              jhljt: this.dataForm.seniorityAllowance,
              totalSubsidy: this.dataForm.totalSubsidy,
              tjjsqtjt: this.dataForm.specialTeacherSubsidy,
              knbz: this.dataForm.difficultySubsidy,
              gztg: this.dataForm.raiseWages,
              zjtxfA: this.dataForm.retirementPayEightynine,
              tgtxfB: this.dataForm.retirementPayNinetytwo,
              zjtxfI: this.dataForm.retirementPayFirst,
              zjtxfJ: this.dataForm.retirementPaySecond,
              zjtxfC: this.dataForm.retirementPayNinetyfive,
              zjtxfK: this.dataForm.retirementPayNinetyseven,
              zjtxfD: this.dataForm.retirementPayNinetysesec,
              zjtxfL: this.dataForm.retirementPayNinetynine,
              zjtxfF: this.dataForm.retirementPayNinetynisec,
              zjtxfR: this.dataForm.retirementPayZero,
              zjtxfM: this.dataForm.retirementPayOne,
              zjtxfN: this.dataForm.retirementPayOnenew,
              zjtxfE: this.dataForm.retirementPayOnsec,
              zjtxfO: this.dataForm.retirementPayThird,
              zjtxfG: this.dataForm.retirementPayThisec,
              zjtxfH: this.dataForm.retirementPayFive,
              zjtxfP: this.dataForm.retirementPaySix,
              fsbtA: this.dataForm.foodAllowanceSeventynine,
              fsbtB: this.dataForm.foodAllowanceEightyeight,
              lybtA: this.dataForm.oilAllowanceNightyone,
              lybtB: this.dataForm.oilAllowanceNightytwo,
              rlbtA: this.dataForm.fuelLlowance,
              rcbtA: this.dataForm.meatLlowance,
              lybtC: this.dataForm.oilAllowanceNightythird,
              shbtA: this.dataForm.livingAllowanceEightyfive,
              shbtB: this.dataForm.livingAllowanceEightyei,
              shbtC: this.dataForm.livingAllowanceNightytw,
              shbtD: this.dataForm.livingAllowanceNightyfo,
              shbtE: this.dataForm.livingAllowanceNightyfive,
              livingAllowanceNightysix: this.dataForm.livingAllowanceNightysix,
              livingAllowanceNightysev: this.dataForm.livingAllowanceNightysev,
              livingAllowanceNightyeig: this.dataForm.livingAllowanceNightyeig,
              livingAllowanceNightynig: this.dataForm.livingAllowanceNightynig,
              livingAllowanceZero: this.dataForm.livingAllowanceZero,
              livingAllowanceOne: this.dataForm.livingAllowanceOne,
              livingAllowanceTwo: this.dataForm.livingAllowanceTwo,
              livingAllowanceThird: this.dataForm.livingAllowanceThird,
              livingAllowanceFour: this.dataForm.livingAllowanceFour,
              zjshbtA: this.dataForm.livingAllowanceSeven,
              specialGoveAllowanc: this.dataForm.specialGoveAllowanc,
              sbf: this.dataForm.paperMoney,
              zfbt: this.dataForm.housingSubsidy,
              xlf: this.dataForm.bathSubsidy,
              ryjt: this.dataForm.honorAllowance,
              qtsr: this.dataForm.otherIncome,
              zwbtA: this.dataForm.jobSubsidy,
              nlbtA: this.dataForm.ageAllowance,
              holidaySubsidy: this.dataForm.holidaySubsidy,
              txbtA: this.dataForm.retirementAllowanceOneo,
              growthMechanismSubsidy: this.dataForm.growthMechanismSubsidy,
              gznxbt: this.dataForm.workingYearsSubsidy,
              tgblbt: this.dataForm.proportionalSubsidy,
              txbtB: this.dataForm.retirementAllowanceOneth,
              zzjzbtA: this.dataForm.growthMechanismThirty,
              txbtC: this.dataForm.retirementAllowanceThirty,
              zjtxfQ: this.dataForm.retirementPayFourty,
              logoutDate: this.dataForm.logoutDate,
              heatingSubsidy: this.dataForm.heatingSubsidy,
              wyfwbt: this.dataForm.serviceSubsidy,
              zjyljA: this.dataForm.pensionSixteen,
              zjyljB: this.dataForm.pensionSeventeen,
              zjyljC: this.dataForm.pensionEighteen,
              zjyljD: this.dataForm.pensionNineteen,
              tzdyA: this.dataForm.retirementPayNineteen,
              basicPension: this.dataForm.basicPension,
              zjyljF: this.dataForm.pensionTwenty,
              zjyljE: this.dataForm.pensionTwentyone,
              jbtxfzkhj:this.resultA,
              lczjtxfhj:this.resultB,
              jgshbthj: this.resultC,
              zjshjzhj: this.resultF,
              qthj: this.resultG,
              zdsctxf: this.resultH,
              txbtX:this.dataForm.retirementPayTwentyseven,
              lxfJ: this.dataForm.retirementPayEighteen,
              lxfT: this.dataForm.retirementPayTwentyten,
              state:0
            }
       
          // this.$http({
          //   url: this.$http.adornUrl(
          //     `/jxxm/retiredemployees/info/${this.dataForm.id}`
          //   ),
          //   method: "get",
          //   params: this.$http.adornParams(),
          // }).then(({ data }) => {
          //   if (data && data.code === 0) {
              
          //    	exportDocx("../static/assets/demp.docx", data, `脚本.docx`);
          //   }
          // });
          var reVal = this.dataForm.retirementTime;
          var txqsf = this.dataForm.retirementStatus;
          var dybz = this.dataForm.treatmentStandard;

          var nian = parseInt(reVal.substring(0, 4));
          var month = parseInt(reVal.substring(5, 7));

          if(nian < 1985)
          {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old1.docx", data, `退休费.docx`);
                  
          }else if(nian >= 1985 && nian <1993)
          {
                 exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old2.docx", data, `退休费.docx`);
          }else if(nian == 1993 && month <10)
          {
                exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old2.docx", data, `退休费.docx`);
          }else if(nian == 1993 && month >=10)
          {
               if(txqsf == "职员" && dybz == '机关职员标准')
               {
                   exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old3.docx", data, `退休费.docx`);
               }else
               {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
               }
               
          }else if(nian >1993 && nian <2003)
          {    if(txqsf == "职员" && dybz == '机关职员标准')
               {
                   exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old3.docx", data, `退休费.docx`);
               }else
               {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
               }

          }else if(nian == 2003 && month <7)
          {
              if(txqsf == "职员" && dybz == '机关职员标准')
               {
                   exportDocx(window.SITE_CONFIG.cdnUrl +  "/static/assets/txf_old3.docx", data, `退休费.docx`);
               }else
               {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
               }
          }else if(nian == 2003 && month >=7)
          {
                exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
          }else if(nian > 2003 && nian < 2006)
          {
                exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
          }
          else if(nian == 2006 && month <7)
          {
              exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old4.docx", data, `退休费.docx`);
          }else
          {
              exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/txf_old5.docx", data, `退休费.docx`);
          }
          
        }    
		  },
      shbt(){
        let id = this.dataForm.id;

        this.addOrUpdateSHBT = true
        this.$nextTick(() => {
          this.$refs.SHBT.test(id)
        }) 
      },
      txf(){
        let id = this.dataForm.id;

        var reVal = this.dataForm.retirementTime;
        var txqsf = this.dataForm.retirementStatus;
        var dybz = this.dataForm.treatmentStandard;

        var nian = parseInt(reVal.substring(0, 4));
        var month = parseInt(reVal.substring(5, 7));

        if(nian < 1985)
        {
          this.addOrUpdateTXF1 = true
          this.$nextTick(() => {
            this.$refs.TXF1.test(id)
          })
                
        }else if(nian >= 1985 && nian <1993)
        {
          this.addOrUpdateTXF2 = true
          this.$nextTick(() => {
            this.$refs.TXF2.test(id)
          })
        }else if(nian == 1993 && month <10)
        {
          this.addOrUpdateTXF2 = true
          this.$nextTick(() => {
            this.$refs.TXF2.test(id)
          })
        }else if(nian == 1993 && month >=10)
        {
              if(txqsf == "职员" && dybz == '机关职员标准')
              {
                this.addOrUpdateTXF3 = true
                this.$nextTick(() => {
                  this.$refs.TXF3.test(id)
                })
              }else
              {
                this.addOrUpdateTXF4 = true
                this.$nextTick(() => {
                  this.$refs.TXF4.test(id)
                })
              }
              
        }else if(nian >1993 && nian <2003)
        {    if(txqsf == "职员" && dybz == '机关职员标准')
              {
                this.addOrUpdateTXF3 = true
                this.$nextTick(() => {
                  this.$refs.TXF3.test(id)
                })
              }else
              {
                this.addOrUpdateTXF4 = true
                this.$nextTick(() => {
                  this.$refs.TXF4.test(id)
                })
              }

        }else if(nian == 2003 && month <7)
        {
            if(txqsf == "职员" && dybz == '机关职员标准')
              {
                this.addOrUpdateTXF3 = true
                this.$nextTick(() => {
                  this.$refs.TXF3.test(id)
                })
              }else
              {
                this.addOrUpdateTXF4 = true
                this.$nextTick(() => {
                  this.$refs.TXF4.test(id)
                })
              }
        }else if(nian == 2003 && month >=7)
        {
            this.addOrUpdateTXF4 = true
            this.$nextTick(() => {
              this.$refs.TXF4.test(id)
            })
        }else if(nian > 2003 && nian < 2006)
        {
            this.addOrUpdateTXF4 = true
            this.$nextTick(() => {
              this.$refs.TXF4.test(id)
            })
        }
        else if(nian == 2006 && month <7)
        {
            this.addOrUpdateTXF4 = true
            this.$nextTick(() => {
              this.$refs.TXF4.test(id)
            })
        }else
        {
            this.addOrUpdateTXF5 = true
            this.$nextTick(() => {
              this.$refs.TXF5.test(id)
            })
        }
      },
      xfj(){
        let id = this.dataForm.id;

        var deathTime = this.dataForm.deathTime;
        var deathNian = parseInt(deathTime.substring(0, 4));
        var deathMonth = parseInt(deathTime.substring(5, 7));

        var reVal = this.dataForm.retirementTime;
        var txqsf = this.dataForm.retirementStatus;
        var dybz = this.dataForm.treatmentStandard;
        var nian = parseInt(reVal.substring(0, 4));
        var month = parseInt(reVal.substring(5, 7));


        if(deathNian<2011 || (deathNian == 2011 && deathMonth <8))
        {
          if(nian < 1985)
          {
            this.addOrUpdateFXJA1 = true
            this.$nextTick(() => {
              this.$refs.FXJA1.test(id)
            })
          }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
          {
            this.addOrUpdateFXJA2 = true
            this.$nextTick(() => {
              this.$refs.FXJA2.test(id)
            })
          }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
          {
            if(txqsf == "职员" && dybz == '机关职员标准')
            {
              this.addOrUpdateFXJA3 = true
              this.$nextTick(() => {
                this.$refs.FXJA3.test(id)
              })
            }else
            {
              this.addOrUpdateFXJA4 = true
              this.$nextTick(() => {
                this.$refs.FXJA4.test(id)
              })
            }
          }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
          {
            this.addOrUpdateFXJA4 = true
            this.$nextTick(() => {
              this.$refs.FXJA4.test(id)
            })
          }else
          {
            this.addOrUpdateFXJA5 = true
            this.$nextTick(() => {
              this.$refs.FXJA5.test(id)
            })
          }
        }else
        {
          if(nian < 1985)
          {
            this.addOrUpdateFXJB1 = true
            this.$nextTick(() => {
              this.$refs.FXJB1.test(id)
            })
          }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
          {
            this.addOrUpdateFXJB2 = true
            this.$nextTick(() => {
              this.$refs.FXJB2.test(id)
            })
          }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
          {
            if(txqsf == "职员" && dybz == '机关职员标准')
            {
              this.addOrUpdateFXJB3 = true
              this.$nextTick(() => {
                this.$refs.FXJB3.test(id)
              })
            }else
            {
              this.addOrUpdateFXJB4 = true
              this.$nextTick(() => {
                this.$refs.FXJB4.test(id)
              })
            }
          }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
          {
            this.addOrUpdateFXJB4 = true
            this.$nextTick(() => {
              this.$refs.FXJB4.test(id)
            })
          }else
          {
            this.addOrUpdateFXJB5 = true
            this.$nextTick(() => {
              this.$refs.FXJB5.test(id)
            })
          }
        }  
      },
      downloadshbt() {

        
        //不计算比例
        var basicSalary = this.dataForm.basicSalary; //基础工资
        var senioritySalary = this.dataForm.senioritySalary; //工龄工资
        var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴
        var totalSubsidy = this.dataForm.totalSubsidy;//退休当年职务补贴
        //计算比例
        var levelSalary = this.dataForm.levelSalary; //级别工资
        var gradeSalary = this.dataForm.gradeSalary; //岗位工资
        var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
        var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴

        var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
        var tgblbf = this.dataForm.increaseProportion;//提高比例部分
        var gzsftg = this.dataForm.isImprove//工资是否提高10%
        var gzsftgValue = '';
        if(txfjfbl === null || txfjfbl === "")
        {
          txfjfbl = 0;
        }
        if(tgblbf === null || tgblbf === "")
        {
          tgblbf = 0;
        }
        if(gzsftg == "是")
        {
            gzsftgValue = 10;
        }else{
          gzsftgValue = 0
        }
        txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
        
        var sumBasicRe = 0;
        sumBasicRe = sumBasicRe +parseFloat(levelSalary) +  parseFloat(gradeSalary) +parseFloat(bonusAllowance)+parseFloat(serviceAllowance)
        var bl = parseFloat(txfjfbl)/100;
        sumBasicRe = Math.ceil(sumBasicRe * bl);

        sumBasicRe = sumBasicRe + parseFloat(basicSalary) + parseFloat(senioritySalary)+ parseFloat(seniorityAllowance)+ parseFloat(totalSubsidy)
        var jblxfhj = 0;
        jblxfhj = parseFloat(sumBasicRe).toFixed(2)

        //历次增加的退休费合计
        var retirementPayZero = this.dataForm.retirementPayZero;
        var resultB = this.resultB;
        var lczjtxfhjsl = 0;
        lczjtxfhjsl = parseFloat(resultB)+ parseFloat(retirementPayZero);

        ////价格生活补贴合计
        var foodAllowanceSeventynine = this.dataForm.foodAllowanceSeventynine; //1979年副食补贴
        var oilAllowanceNightyone = this.dataForm.oilAllowanceNightyone; //1991年粮油补贴
        var livingAllowanceEightyfive = this.dataForm.livingAllowanceEightyfive; //1985年生活补贴
        var sumPrice = 0;
        sumPrice = sumPrice + parseFloat(foodAllowanceSeventynine) + parseFloat(oilAllowanceNightyone) + parseFloat(livingAllowanceEightyfive)
        
        ////增加机制补贴合计
        var livingAllowanceSeven = this.dataForm.livingAllowanceSeven; //2007年增加生活补贴
        var jobSubsidy = this.dataForm.jobSubsidy; //2010年职务补贴
        var resultD = this.resultD
        var sumMechanism = 0;
        sumMechanism = sumMechanism +parseFloat(resultD) + parseFloat(livingAllowanceSeven) + parseFloat(jobSubsidy)
    

        var reVal = this.dataForm.workTime;
        var nian = parseInt(reVal.substring(0, 4));
        var month = parseInt(reVal.substring(5, 7));
        var day = parseInt(reVal.substring(8, 10));

        var shbthj = 0;
        var shbthjsum = 0;
        shbthjsum = parseFloat(jblxfhj) + parseFloat(lczjtxfhjsl) + parseFloat(sumPrice) + parseFloat(sumMechanism);
        shbthj = parseFloat(jblxfhj) + parseFloat(lczjtxfhjsl) + parseFloat(sumPrice) + parseFloat(sumMechanism);

        if(nian == 1937 && month > 7 )
        {
          shbthj = parseFloat(shbthj)*3.5
        }else if(nian == 1937 && month == 7 && day >= 7)
        {
          shbthj = parseFloat(shbthj)*3.5
        }else if(nian > 1937 && nian <1943)
        {
          shbthj = parseFloat(shbthj)*3.5
        }else if(nian >= 1943 && nian <1945)
        {
          shbthj = parseFloat(shbthj)*3
        }else if(nian == 1945 && month < 9)
        {
          shbthj = parseFloat(shbthj)*3
        }else if(nian == 1945 && month == 9 && day <= 2)
        {
          shbthj = parseFloat(shbthj)*3
        }else if(nian == 1945 && month == 9 && day >=3 )
        {
          shbthj = parseFloat(shbthj)*2
        }else if(nian == 1945 && month > 9)
        {
          shbthj = parseFloat(shbthj)*2
        }else if(nian > 1945 && nian < 1949)
        {
          shbthj = parseFloat(shbthj)*2
        }else if(nian == 1949 && month < 10)
        {
          shbthj = parseFloat(shbthj)*2
        }
       
        if (this.dataForm.id) {
            var data = {
                //title:'（1985年工改前退休人员xxx）',
                areaCode: this.dataForm.areaCode,
                personalCode: this.dataForm.personalCode,
                name: this.dataForm.name,
                sex: this.dataForm.sex,
                nation: this.dataForm.nation,
                politicalFace: this.dataForm.politicalFace,
                idNo: this.dataForm.idNo,
                birthDate: this.dataForm.birthDate,
                workTime: this.dataForm.workTime,
                txsj: this.dataForm.retirementTime,
                retirementStatus: this.dataForm.retirementStatus,
                duties: this.dataForm.duties,
                county: this.dataForm.county,
                street: this.dataForm.street,
                ybd: this.dataForm.originalTroops,
                yjsj: this.dataForm.handoverTime,
                handoverMode: this.dataForm.handoverMode,
                handoverBatch: this.dataForm.handoverBatch,
                workersClassification: this.dataForm.workersClassification,
                myStatus: this.dataForm.myStatus,
                death: this.dataForm.death,
                deathTime: this.dataForm.deathTime,
                reception: this.dataForm.reception,
                housingSituation: this.dataForm.housingSituation,
                housingPropertyRight: this.dataForm.housingPropertyRight,
                leaseholder: this.dataForm.leaseholder,
                housingArea: this.dataForm.housingArea,
                increasePension: this.dataForm.increasePension,
                totalMonthlyPension: this.dataForm.totalMonthlyPension,
                address: this.dataForm.address,
                phone: this.dataForm.phone,
                remarks: this.dataForm.remarks,
                jl: this.dataForm.teachingAge,
                workYears: this.dataForm.workingYears,
                jdgznx: this.dataForm.workingYearsArmy,
                wageLevel: this.dataForm.wageLevel,
                wageGrade: this.dataForm.wageGrade,
                wageScale: this.dataForm.wageScale,
                jbtxfjfbl: this.dataForm.retirementFeeProportion,
                gljt: this.dataForm.senioritySalary,
                jcgz: this.dataForm.basicSalary,
                jbgz: this.dataForm.levelSalary,
                zwgwgz: this.dataForm.gradeSalary,
                salaryScale: this.dataForm.salaryScale,
                jjjt: this.dataForm.bonusAllowance,
                jdfwjt: this.dataForm.serviceAllowance,
                jhljt: this.dataForm.seniorityAllowance,
                zwbthj: this.dataForm.totalSubsidy,
                tjjsbt: this.dataForm.specialTeacherSubsidy,
                difficultySubsidy: this.dataForm.difficultySubsidy,
                gztg: this.dataForm.raiseWages,
                lxfA: this.dataForm.retirementPayEightynine,
                lxfB: this.dataForm.retirementPayNinetytwo,
                lxfC: this.dataForm.retirementPayFirst,
                lxfD: this.dataForm.retirementPaySecond,
                lxfE: this.dataForm.retirementPayNinetyfive,
                lxfF: this.dataForm.retirementPayNinetyseven,
                lxfG: this.dataForm.retirementPayNinetysesec,
                lxfH: this.dataForm.retirementPayNinetynine,
                lxfK: this.dataForm.retirementPayNinetynisec,
                lxfU: this.dataForm.retirementPayZero,
                lxfL: this.dataForm.retirementPayOne,
                lxfM: this.dataForm.retirementPayOnenew,
                lxfN: this.dataForm.retirementPayOnsec,
                lxfO: this.dataForm.retirementPayThird,
                lxfP: this.dataForm.retirementPayThisec,
                lxfQ: this.dataForm.retirementPayFive,
                lxfR: this.dataForm.retirementPaySix,
                lxfI: this.dataForm.retirementPayFourty,
                fsbt: this.dataForm.foodAllowanceSeventynine,
                foodAllowanceEightyeight: this.dataForm.foodAllowanceEightyeight,
                lybt: this.dataForm.oilAllowanceNightyone,
                oilAllowanceNightytwo: this.dataForm.oilAllowanceNightytwo,
                fuelLlowance: this.dataForm.fuelLlowance,
                meatLlowance: this.dataForm.meatLlowance,
                oilAllowanceNightythird: this.dataForm.oilAllowanceNightythird,
                shbt: this.dataForm.livingAllowanceEightyfive,
                livingAllowanceEightyei: this.dataForm.livingAllowanceEightyei,
                livingAllowanceNightytw: this.dataForm.livingAllowanceNightytw,
                livingAllowanceNightyfo: this.dataForm.livingAllowanceNightyfo,
                livingAllowanceNightyfive: this.dataForm.livingAllowanceNightyfive,
                shbtA: this.dataForm.livingAllowanceNightysix,
                shbtB: this.dataForm.livingAllowanceNightysev,
                shbtC: this.dataForm.livingAllowanceNightyeig,
                shbtD: this.dataForm.livingAllowanceNightynig,
                shbtE: this.dataForm.livingAllowanceZero,
                shbtF: this.dataForm.livingAllowanceOne,
                shbtG: this.dataForm.livingAllowanceTwo,
                shbtH: this.dataForm.livingAllowanceThird,
                shbtI: this.dataForm.livingAllowanceFour,
                shbtJ: this.dataForm.livingAllowanceSeven,
                zftsjt: this.dataForm.specialGoveAllowanc,
                paperMoney: this.dataForm.paperMoney,
                ycbgbt: this.dataForm.carAllowance,
                bathSubsidy: this.dataForm.bathSubsidy,
                ryjt: this.dataForm.honorAllowance,
                otherIncome: this.dataForm.otherIncome,
                shbtK: this.dataForm.jobSubsidy,
                ageAllowance: this.dataForm.ageAllowance,
                holidaySubsidy: this.dataForm.holidaySubsidy,
                retirementAllowanceOneo: this.dataForm.retirementAllowanceOneo,
                growthMechanismSubsidy: this.dataForm.growthMechanismSubsidy,
                workingYearsSubsidy: this.dataForm.workingYearsSubsidy,
                proportionalSubsidy: this.dataForm.proportionalSubsidy,
                workUnit: this.dataForm.workUnit,
                increaseProportion: this.dataForm.increaseProportion,
                renson: this.dataForm.renson,
                registrationNo: this.dataForm.registrationNo,
                nativePlace: this.dataForm.nativePlace,
                registeredResidence: this.dataForm.registeredResidence,
                zfgdTime: this.dataForm.zfgdTime,
                resettlementPlanTime: this.dataForm.resettlementPlanTime,
                medicalInsurance: this.dataForm.medicalInsurance,
                allowanceRatio: this.dataForm.allowanceRatio,
                enjoyAllowance: this.dataForm.enjoyAllowance,
                specialAllowance: this.dataForm.specialAllowance,
                treatmentStandard: this.dataForm.treatmentStandard,
                postLevel: this.dataForm.postLevel,
                salary: this.dataForm.salary,
                isImprove: this.dataForm.isImprove,
                personnelClassification: this.dataForm.personnelClassification,
                ylylbt: this.dataForm.pensionMedicalSubsidy,
                hlfje: this.dataForm.nursingFee,
                isNursingFee: this.dataForm.isNursingFee,
                heatingSubsidy: this.dataForm.heatingSubsidy,
                wyfwbt: this.dataForm.serviceSubsidy,
                lxfS: this.dataForm.pensionSixteen,
                lxfJ: this.dataForm.retirementPayEighteen,
                retirementPayNineteen: this.dataForm.retirementPayNineteen,
                retirementPayTwentyseven: this.dataForm.retirementPayTwentyseven,
                lxfT: this.dataForm.retirementPayTwentyten,
                logoutDate: this.dataForm.logoutDate,
                personType: this.dataForm.personType,
                state: this.dataForm.state,
                jblxfhj:jblxfhj,
                lczjtxfhjsl:lczjtxfhjsl,
                jtbthj:this.resultG,
                lxfhj:this.resultH,
                yfshbthj:shbthj,
                jgshbthj:sumPrice,
                shbthj:shbthjsum,
                zjshjzhj:sumMechanism
              }
             exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/shbt_old.docx", data, `生活补贴.docx`);
          }
        
		  },
      downloadDeath() {
      //获取上一年度全国城镇居民人均可支配收入
      var rjkzpsrbz = '';
      var deDate = this.dataForm.deathTime;
      var deNian = parseInt(deDate.substring(0, 4));
      this.$http({
      url: this.$http.adornUrl('/jxxm/incomestandard/list'),
      method: 'get',
      params: this.$http.adornParams({
        'page': this.pageIndex,
        'limit': this.pageSize,
        'nd': deNian
        })
      }).then(({data}) => {
        if (data && data.code === 0) {
          this.dataList = data.page.list
          console.log(this.dataList)
          if(this.dataList.length == 0)
          {
            rjkzpsrbz = '';
          }else
          {
             rjkzpsrbz = this.dataList[0].rjkzpsrbz;
          }
          

          var deathTime = this.dataForm.deathTime;
          var deathNian = parseInt(deathTime.substring(0, 4));
          var deathMonth = parseInt(deathTime.substring(5, 7));

          var reVal = this.dataForm.retirementTime;
          var txqsf = this.dataForm.retirementStatus;
          var dybz = this.dataForm.treatmentStandard;
          var nian = parseInt(reVal.substring(0, 4));
          var month = parseInt(reVal.substring(5, 7));


          if(deathNian<2011 || (deathNian == 2011 && deathMonth <8))
          {
              if(nian < 1985)
              { 
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;

                var senioritySalary = this.dataForm.senioritySalary; //工龄工资
                var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary);
                bjs = bjs * bl;
                var jbtxfzkhj = 0;
                jbtxfzkhj = parseFloat(senioritySalary) + parseFloat(bjs);
                jbtxfzkhj = Math.ceil(jbtxfzkhj);

                //重新计算历次增加的退休费合计
                var lczjtxfhjsl = 0
                var resultB = this.resultB;
                var zjtxfR = this.dataForm.retirementPayZero;
                lczjtxfhjsl = parseFloat(resultB)+parseFloat(zjtxfR);
                

                //重新计算价格生活补贴合计
                var jgshbthjsl = 0;
                var fsbtA = this.dataForm.foodAllowanceSeventynine;//1979年副食补贴
                var lybtA = this.dataForm.oilAllowanceNightyone;//1991年粮油补贴
                var shbtA = this.dataForm.livingAllowanceEightyfive;//1985年生活补贴
                jgshbthjsl = parseFloat(fsbtA)+parseFloat(lybtA)+parseFloat(shbtA);

                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultA = this.resultA;
                var resultD = this.resultD;
                zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                
                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;

              }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
              {
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;
                var senioritySalary = this.dataForm.senioritySalary; //工龄工资
                var basicSalary = this.dataForm.basicSalary; //基础工资
                var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages);
                bjs = bjs * bl;
                var jbtxfzkhj = 0;
                jbtxfzkhj = parseFloat(senioritySalary) + parseFloat(bjs) + parseFloat(basicSalary) + parseFloat(seniorityAllowance);
                jbtxfzkhj = Math.ceil(jbtxfzkhj)



                //重新计算历次增加的退休费合计
                var lczjtxfhjsl = 0
                var resultB = this.resultB;
                var zjtxfR = this.dataForm.retirementPayZero;
                var retirementPayTwentyten = this.dataForm.retirementPayTwentyten;
                lczjtxfhjsl = parseFloat(resultB)+parseFloat(zjtxfR)-parseFloat(retirementPayTwentyten);
                

                //重新计算价格生活补贴合计
                var jgshbthjsl = 0;
                var lybtA = this.dataForm.oilAllowanceNightyone;//1991年粮油补贴
                jgshbthjsl = parseFloat(lybtA);

                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultA = this.resultA;
                var resultD = this.resultD;
                zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;

              }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
              {
                    if(txqsf == "职员" && dybz == '机关职员标准')
                    {
                      //重新计算退休费基数
                      var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                      var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                      var gzsftg = this.dataForm.isImprove//工资是否提高10%
                      var gzsftgValue = '';
                      if(txfjfbl === null || txfjfbl === "")
                      {
                        txfjfbl = 0;
                      }
                      if(tgblbf === null || tgblbf === "")
                      {
                        tgblbf = 0;
                      }
                      if(gzsftg == "是")
                      {
                          gzsftgValue = 10;
                      }else{
                        gzsftgValue = 0
                      }
                      txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                      var bl = parseFloat(txfjfbl)/100;
                      
                      var zwbt = this.dataForm.totalSubsidy;//退休当年职务补贴
                      var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                      var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                      var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                      var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                      var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                      var bjs = 0;
                      bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(bonusAllowance);
                      bjs = bjs * bl;

                   
                      var jbtxfzkhjsl = 0;
                      jbtxfzkhjsl = parseFloat(zwbt) + parseFloat(seniorityAllowance) + parseFloat(bjs)
                      jbtxfzkhjsl = Math.ceil(jbtxfzkhjsl)

                      //重新计算历次增加的退休费合计
                      var lczjtxfhjsl = 0
                      var resultB = this.resultB;
                      var zjtxfR = this.dataForm.retirementPayZero;
                      var rpt = this.dataForm.retirementPayTwentyten;
                      var rpe = this.dataForm.retirementPayEightynine; //1989年10月增加退休费
                      var rpn = this.dataForm.retirementPayNinetytwo; //1992年3月提高退休费10％
                      var rpf = this.dataForm.retirementPayFirst; //1993年10月第一步增加退休费
                      var rps = this.dataForm.retirementPaySecond; //1993年10月第二步增加退休费
                      lczjtxfhjsl = parseFloat(resultB)+parseFloat(zjtxfR) - parseFloat(rpt)-parseFloat(rpe)-parseFloat(rpn)-parseFloat(rpf)-parseFloat(rps);
                      

                      //重新计算价格生活补贴合计
                      var jgshbthjsl = 0;
                    

                      //重新计算退休费合计
                      var zdsctxfsl =  0;
                      var resultD = this.resultD;
                      zdsctxfsl = parseFloat(jbtxfzkhjsl)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                      //抚恤金合计
                      var fxjSum = 0;
                      fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                      //转大写
                      var money = fxjSum;
                      var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                      var cnIntRadice = ['', '拾', '佰', '仟']
                      var cnIntUnits = ['', '万', '亿', '兆']
                      var cnDecUnits = ['角', '分', '毫', '厘']
                      var cnInteger = '整'
                      var cnIntLast = '元'
                      var maxNum = 999999999999999.9999
                      var integerNum
                      var decimalNum
                      var chineseStr = ''
                      var parts
                      if (money === '') {
                        return ''
                      }
                      money = parseFloat(money)
                      if (money >= maxNum) {
                        return ''
                      }
                      if (money === 0) {
                        chineseStr = cnNums[0] + cnIntLast + cnInteger
                        return chineseStr
                      }
                      money = money.toString()
                      if (money.indexOf('.') === -1) {
                        integerNum = money
                        decimalNum = ''
                      } else {
                        parts = money.split('.')
                        integerNum = parts[0]
                        decimalNum = parts[1].substr(0, 4)
                      }
                      if (parseInt(integerNum, 10) > 0) {
                        var zeroCount = 0
                        var IntLen = integerNum.length
                        for (var i = 0; i < IntLen; i++) {
                          var n = integerNum.substr(i, 1)
                          var p = IntLen - i - 1
                          var q = p / 4
                          var m = p % 4
                          if (n === '0') {
                            zeroCount++
                          } else {
                            if (zeroCount > 0) {
                              chineseStr += cnNums[0]
                            }
                            zeroCount = 0
                            chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                          }
                          if (m === 0 && zeroCount < 4) {
                            chineseStr += cnIntUnits[q]
                          }
                        }
                        chineseStr += cnIntLast
                      }
                      if (decimalNum !== '') {
                        var decLen = decimalNum.length
                        for (i = 0; i < decLen; i++) {
                          n = decimalNum.substr(i, 1)
                          if (n !== '0') {
                            chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                          }
                        }
                      }
                      if (chineseStr === '') {
                        chineseStr += cnNums[0] + cnIntLast + cnInteger
                      } else if (decimalNum === '') {
                        chineseStr += cnInteger
                      }
                     // arr = chineseStr;
                    }else
                    {
                      //重新计算退休费基数
                      var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                      var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                      var gzsftg = this.dataForm.isImprove//工资是否提高10%
                      var gzsftgValue = '';
                      if(txfjfbl === null || txfjfbl === "")
                      {
                        txfjfbl = 0;
                      }
                      if(tgblbf === null || tgblbf === "")
                      {
                        tgblbf = 0;
                      }
                      if(gzsftg == "是")
                      {
                          gzsftgValue = 10;
                      }else{
                        gzsftgValue = 0
                      }
                      txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                      var bl = parseFloat(txfjfbl)/100;
                      var zwbt = this.dataForm.totalSubsidy;//退休当年职务补贴
                      var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                      var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                      var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                      var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                      var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                      var bjs = 0;
                      bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(bonusAllowance);
                      bjs = bjs * bl;

                      var jbtxfzkhjsl = 0;
                      jbtxfzkhjsl = parseFloat(seniorityAllowance) + parseFloat(zwbt) + parseFloat(bjs)
                      jbtxfzkhjsl = Math.ceil(jbtxfzkhjsl)

                      

                      //重新计算历次增加的退休费合计
                      var lczjtxfhjsl = 0
                      var resultB = this.resultB;
                      var zjtxfR = this.dataForm.retirementPayZero;
                      var rpt = this.dataForm.retirementPayTwentyten;
                      var rpe = this.dataForm.retirementPayEightynine; //1989年10月增加退休费
                      var rpn = this.dataForm.retirementPayNinetytwo; //1992年3月提高退休费10％
                      var rpf = this.dataForm.retirementPayFirst; //1993年10月第一步增加退休费
                      var rps = this.dataForm.retirementPaySecond; //1993年10月第二步增加退休费
                      lczjtxfhjsl = parseFloat(resultB)+parseFloat(zjtxfR)-parseFloat(rpt)-parseFloat(rpe)-parseFloat(rpn)-parseFloat(rpf)-parseFloat(rps);
                      

                      //重新计算价格生活补贴合计
                      var jgshbthjsl = 0;
                    

                      //重新计算退休费合计
                      var zdsctxfsl =  0;
                      var resultD = this.resultD;
                      zdsctxfsl = parseFloat(jbtxfzkhjsl)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                      //抚恤金合计
                      var fxjSum = 0;
                      fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                      //转大写
                      var money = fxjSum;
                      var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                      var cnIntRadice = ['', '拾', '佰', '仟']
                      var cnIntUnits = ['', '万', '亿', '兆']
                      var cnDecUnits = ['角', '分', '毫', '厘']
                      var cnInteger = '整'
                      var cnIntLast = '元'
                      var maxNum = 999999999999999.9999
                      var integerNum
                      var decimalNum
                      var chineseStr = ''
                      var parts
                      if (money === '') {
                        return ''
                      }
                      money = parseFloat(money)
                      if (money >= maxNum) {
                        return ''
                      }
                      if (money === 0) {
                        chineseStr = cnNums[0] + cnIntLast + cnInteger
                        return chineseStr
                      }
                      money = money.toString()
                      if (money.indexOf('.') === -1) {
                        integerNum = money
                        decimalNum = ''
                      } else {
                        parts = money.split('.')
                        integerNum = parts[0]
                        decimalNum = parts[1].substr(0, 4)
                      }
                      if (parseInt(integerNum, 10) > 0) {
                        var zeroCount = 0
                        var IntLen = integerNum.length
                        for (var i = 0; i < IntLen; i++) {
                          var n = integerNum.substr(i, 1)
                          var p = IntLen - i - 1
                          var q = p / 4
                          var m = p % 4
                          if (n === '0') {
                            zeroCount++
                          } else {
                            if (zeroCount > 0) {
                              chineseStr += cnNums[0]
                            }
                            zeroCount = 0
                            chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                          }
                          if (m === 0 && zeroCount < 4) {
                            chineseStr += cnIntUnits[q]
                          }
                        }
                        chineseStr += cnIntLast
                      }
                      if (decimalNum !== '') {
                        var decLen = decimalNum.length
                        for (i = 0; i < decLen; i++) {
                          n = decimalNum.substr(i, 1)
                          if (n !== '0') {
                            chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                          }
                        }
                      }
                      if (chineseStr === '') {
                        chineseStr += cnNums[0] + cnIntLast + cnInteger
                      } else if (decimalNum === '') {
                        chineseStr += cnInteger
                      }
                      //arr = chineseStr;
                    }
              }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
              {
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;
                var zwbt = this.dataForm.totalSubsidy;//退休当年职务补贴
                var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(bonusAllowance);
                bjs = bjs * bl;

                var jbtxfzkhjsl = 0;
                jbtxfzkhjsl = parseFloat(seniorityAllowance) + parseFloat(zwbt) + parseFloat(bjs)
                jbtxfzkhjsl = Math.ceil(jbtxfzkhjsl)

                

                //重新计算历次增加的退休费合计
                var lczjtxfhjsl = 0
                var resultB = this.resultB;
                var zjtxfR = this.dataForm.retirementPayZero;
                var rpt = this.dataForm.retirementPayTwentyten;
                var rpe = this.dataForm.retirementPayEightynine; //1989年10月增加退休费
                var rpn = this.dataForm.retirementPayNinetytwo; //1992年3月提高退休费10％
                var rpf = this.dataForm.retirementPayFirst; //1993年10月第一步增加退休费
                var rps = this.dataForm.retirementPaySecond; //1993年10月第二步增加退休费
                lczjtxfhjsl = parseFloat(resultB)+parseFloat(zjtxfR)-parseFloat(rpt)-parseFloat(rpe)-parseFloat(rpn)-parseFloat(rpf)-parseFloat(rps);
                

                //重新计算价格生活补贴合计
                var jgshbthjsl = 0;
                

                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultD = this.resultD;
                zdsctxfsl = parseFloat(jbtxfzkhjsl)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;
              }else
              {
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;
                var zwbt = this.dataForm.totalSubsidy;//退休当年职务补贴
                var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                var salaryScale = this.dataForm.salaryScale; //薪级工资
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(salaryScale);
                bjs = bjs * bl;

                var jbtxfzkhjsl = 0;
                jbtxfzkhjsl = parseFloat(seniorityAllowance) + parseFloat(zwbt) + parseFloat(bjs)
                jbtxfzkhjsl = Math.ceil(jbtxfzkhjsl)

                

                //重新计算历次增加的退休费合计
                var lczjtxfhjsl = 0
                var rePayF = this.dataForm.retirementPayFourty; //2014年10月增加退休费
                var peSixteen = this.dataForm.pensionSixteen;//2016年7月增加离休费
                var rePayE = this.dataForm.retirementPayEighteen;//2018年7月增加离休费
                var rePayT = this.dataForm.retirementPayTwentyten;//2021年10月增加离休费
                lczjtxfhjsl = parseFloat(rePayF) + parseFloat(peSixteen) + parseFloat(rePayE) + parseFloat(rePayT)


            

                //重新计算价格生活补贴合计
                var jgshbthjsl = 0;
                

                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultB = this.resultB;
                var resultD = this.resultD;
                zdsctxfsl = parseFloat(jbtxfzkhjsl)+parseFloat(jgshbthjsl)+parseFloat(resultD)+parseFloat(lczjtxfhjsl);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(zdsctxfsl)*20 + 5000;

                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;
              }
          }else
          {
              if(nian < 1985)
              {
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;

                var senioritySalary = this.dataForm.senioritySalary; //工龄工资
                var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary);
                bjs = bjs * bl;
                var jbtxfzkhj = 0;
                jbtxfzkhj = parseFloat(senioritySalary) + parseFloat(bjs);
                jbtxfzkhj = Math.ceil(jbtxfzkhj)



                
                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultB = this.resultB;
                zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;
              }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
              {
                //重新计算退休费基数
                var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                var gzsftg = this.dataForm.isImprove//工资是否提高10%
                var gzsftgValue = '';
                if(txfjfbl === null || txfjfbl === "")
                {
                  txfjfbl = 0;
                }
                if(tgblbf === null || tgblbf === "")
                {
                  tgblbf = 0;
                }
                if(gzsftg == "是")
                {
                    gzsftgValue = 10;
                }else{
                  gzsftgValue = 0
                }
                txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                var bl = parseFloat(txfjfbl)/100;
                var senioritySalary = this.dataForm.senioritySalary; //工龄工资
                var basicSalary = this.dataForm.basicSalary; //基础工资
                var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴

                var gradeSalary = this.dataForm.gradeSalary; //岗位工资 
                var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                var bjs = 0;
                bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages);
                bjs = bjs * bl;
                var jbtxfzkhj = 0;
                jbtxfzkhj = parseFloat(senioritySalary) + parseFloat(bjs) + parseFloat(basicSalary) + parseFloat(seniorityAllowance);
                jbtxfzkhj = Math.ceil(jbtxfzkhj)


                //重新计算退休费合计
                var zdsctxfsl =  0;
                var resultB = this.resultB;
                zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                //抚恤金合计
                var fxjSum = 0;
                fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                //转大写
                var money = fxjSum;
                var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                var cnIntRadice = ['', '拾', '佰', '仟']
                var cnIntUnits = ['', '万', '亿', '兆']
                var cnDecUnits = ['角', '分', '毫', '厘']
                var cnInteger = '整'
                var cnIntLast = '元'
                var maxNum = 999999999999999.9999
                var integerNum
                var decimalNum
                var chineseStr = ''
                var parts
                if (money === '') {
                  return ''
                }
                money = parseFloat(money)
                if (money >= maxNum) {
                  return ''
                }
                if (money === 0) {
                  chineseStr = cnNums[0] + cnIntLast + cnInteger
                  return chineseStr
                }
                money = money.toString()
                if (money.indexOf('.') === -1) {
                  integerNum = money
                  decimalNum = ''
                } else {
                  parts = money.split('.')
                  integerNum = parts[0]
                  decimalNum = parts[1].substr(0, 4)
                }
                if (parseInt(integerNum, 10) > 0) {
                  var zeroCount = 0
                  var IntLen = integerNum.length
                  for (var i = 0; i < IntLen; i++) {
                    var n = integerNum.substr(i, 1)
                    var p = IntLen - i - 1
                    var q = p / 4
                    var m = p % 4
                    if (n === '0') {
                      zeroCount++
                    } else {
                      if (zeroCount > 0) {
                        chineseStr += cnNums[0]
                      }
                      zeroCount = 0
                      chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                    }
                    if (m === 0 && zeroCount < 4) {
                      chineseStr += cnIntUnits[q]
                    }
                  }
                  chineseStr += cnIntLast
                }
                if (decimalNum !== '') {
                  var decLen = decimalNum.length
                  for (i = 0; i < decLen; i++) {
                    n = decimalNum.substr(i, 1)
                    if (n !== '0') {
                      chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                    }
                  }
                }
                if (chineseStr === '') {
                  chineseStr += cnNums[0] + cnIntLast + cnInteger
                } else if (decimalNum === '') {
                  chineseStr += cnInteger
                }
                //arr = chineseStr;
              }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
              {
                if(txqsf == "职员" && dybz == '机关职员标准')
                {
                  //重新计算退休费基数
                  var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                  var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                  var gzsftg = this.dataForm.isImprove//工资是否提高10%
                  var gzsftgValue = '';
                  if(txfjfbl === null || txfjfbl === "")
                  {
                    txfjfbl = 0;
                  }
                  if(tgblbf === null || tgblbf === "")
                  {
                    tgblbf = 0;
                  }
                  if(gzsftg == "是")
                  {
                      gzsftgValue = 10;
                  }else{
                    gzsftgValue = 0
                  }
                  txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                  var bl = parseFloat(txfjfbl)/100;
                  var senioritySalary = this.dataForm.senioritySalary; //工龄工资
                  var basicSalary = this.dataForm.basicSalary; //基础工资
                 
                  var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                  var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                  var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                  var levelSalary = this.dataForm.levelSalary; //级别工资
                  var bjs = 0;
                  bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(levelSalary) + parseFloat(bonusAllowance);
                  bjs = bjs * bl;
                  var jbtxfzkhj = 0;
                  jbtxfzkhj = parseFloat(bjs) + parseFloat(basicSalary) + parseFloat(senioritySalary);
                  jbtxfzkhj = Math.ceil(jbtxfzkhj)
                  


                  //重新计算退休费合计
                  var zdsctxfsl =  0;
                  var resultB = this.resultB;
                  zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                  //抚恤金合计
                  var fxjSum = 0;
                  fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                  //转大写
                  var money = fxjSum;
                  var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                  var cnIntRadice = ['', '拾', '佰', '仟']
                  var cnIntUnits = ['', '万', '亿', '兆']
                  var cnDecUnits = ['角', '分', '毫', '厘']
                  var cnInteger = '整'
                  var cnIntLast = '元'
                  var maxNum = 999999999999999.9999
                  var integerNum
                  var decimalNum
                  var chineseStr = ''
                  var parts
                  if (money === '') {
                    return ''
                  }
                  money = parseFloat(money)
                  if (money >= maxNum) {
                    return ''
                  }
                  if (money === 0) {
                    chineseStr = cnNums[0] + cnIntLast + cnInteger
                    return chineseStr
                  }
                  money = money.toString()
                  if (money.indexOf('.') === -1) {
                    integerNum = money
                    decimalNum = ''
                  } else {
                    parts = money.split('.')
                    integerNum = parts[0]
                    decimalNum = parts[1].substr(0, 4)
                  }
                  if (parseInt(integerNum, 10) > 0) {
                    var zeroCount = 0
                    var IntLen = integerNum.length
                    for (var i = 0; i < IntLen; i++) {
                      var n = integerNum.substr(i, 1)
                      var p = IntLen - i - 1
                      var q = p / 4
                      var m = p % 4
                      if (n === '0') {
                        zeroCount++
                      } else {
                        if (zeroCount > 0) {
                          chineseStr += cnNums[0]
                        }
                        zeroCount = 0
                        chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                      }
                      if (m === 0 && zeroCount < 4) {
                        chineseStr += cnIntUnits[q]
                      }
                    }
                    chineseStr += cnIntLast
                  }
                  if (decimalNum !== '') {
                    var decLen = decimalNum.length
                    for (i = 0; i < decLen; i++) {
                      n = decimalNum.substr(i, 1)
                      if (n !== '0') {
                        chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                      }
                    }
                  }
                  if (chineseStr === '') {
                    chineseStr += cnNums[0] + cnIntLast + cnInteger
                  } else if (decimalNum === '') {
                    chineseStr += cnInteger
                  }
                  //arr = chineseStr;
                }else
                {
                  //重新计算退休费基数
                  var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                  var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                  var gzsftg = this.dataForm.isImprove//工资是否提高10%
                  var gzsftgValue = '';
                  if(txfjfbl === null || txfjfbl === "")
                  {
                    txfjfbl = 0;
                  }
                  if(tgblbf === null || tgblbf === "")
                  {
                    tgblbf = 0;
                  }
                  if(gzsftg == "是")
                  {
                      gzsftgValue = 10;
                  }else{
                    gzsftgValue = 0
                  }
                  txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                  var bl = parseFloat(txfjfbl)/100;
                  var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴
                 
                  var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                  var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                  var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                  var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                  var bjs = 0;
                  bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(bonusAllowance);
                  bjs = bjs * bl;
                  var jbtxfzkhj = 0;
                  jbtxfzkhj = parseFloat(bjs) + parseFloat(seniorityAllowance);
                  jbtxfzkhj = Math.ceil(jbtxfzkhj)


                  //重新计算退休费合计
                  var zdsctxfsl =  0;
                  var resultB = this.resultB;
                  zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                  //抚恤金合计
                  var fxjSum = 0;
                  fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                  //转大写
                  var money = fxjSum;
                  var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                  var cnIntRadice = ['', '拾', '佰', '仟']
                  var cnIntUnits = ['', '万', '亿', '兆']
                  var cnDecUnits = ['角', '分', '毫', '厘']
                  var cnInteger = '整'
                  var cnIntLast = '元'
                  var maxNum = 999999999999999.9999
                  var integerNum
                  var decimalNum
                  var chineseStr = ''
                  var parts
                  if (money === '') {
                    return ''
                  }
                  money = parseFloat(money)
                  if (money >= maxNum) {
                    return ''
                  }
                  if (money === 0) {
                    chineseStr = cnNums[0] + cnIntLast + cnInteger
                    return chineseStr
                  }
                  money = money.toString()
                  if (money.indexOf('.') === -1) {
                    integerNum = money
                    decimalNum = ''
                  } else {
                    parts = money.split('.')
                    integerNum = parts[0]
                    decimalNum = parts[1].substr(0, 4)
                  }
                  if (parseInt(integerNum, 10) > 0) {
                    var zeroCount = 0
                    var IntLen = integerNum.length
                    for (var i = 0; i < IntLen; i++) {
                      var n = integerNum.substr(i, 1)
                      var p = IntLen - i - 1
                      var q = p / 4
                      var m = p % 4
                      if (n === '0') {
                        zeroCount++
                      } else {
                        if (zeroCount > 0) {
                          chineseStr += cnNums[0]
                        }
                        zeroCount = 0
                        chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                      }
                      if (m === 0 && zeroCount < 4) {
                        chineseStr += cnIntUnits[q]
                      }
                    }
                    chineseStr += cnIntLast
                  }
                  if (decimalNum !== '') {
                    var decLen = decimalNum.length
                    for (i = 0; i < decLen; i++) {
                      n = decimalNum.substr(i, 1)
                      if (n !== '0') {
                        chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                      }
                    }
                  }
                  if (chineseStr === '') {
                    chineseStr += cnNums[0] + cnIntLast + cnInteger
                  } else if (decimalNum === '') {
                    chineseStr += cnInteger
                  }
                  //arr = chineseStr;
                }
              }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
              {
                  //重新计算退休费基数
                  var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                  var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                  var gzsftg = this.dataForm.isImprove//工资是否提高10%
                  var gzsftgValue = '';
                  if(txfjfbl === null || txfjfbl === "")
                  {
                    txfjfbl = 0;
                  }
                  if(tgblbf === null || tgblbf === "")
                  {
                    tgblbf = 0;
                  }
                  if(gzsftg == "是")
                  {
                      gzsftgValue = 10;
                  }else{
                    gzsftgValue = 0
                  }
                  txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                  var bl = parseFloat(txfjfbl)/100;
                  var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴
                 
                  var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                  var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                  var bonusAllowance = this.dataForm.bonusAllowance; //奖金津贴
                  var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                  var bjs = 0;
                  bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(bonusAllowance);
                  bjs = bjs * bl;
                  var jbtxfzkhj = 0;
                  jbtxfzkhj = parseFloat(bjs) + parseFloat(seniorityAllowance);
                  jbtxfzkhj = Math.ceil(jbtxfzkhj)

                  //重新计算退休费合计
                  var zdsctxfsl =  0;
                  var resultB = this.resultB;
                  zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                  //抚恤金合计
                  var fxjSum = 0;
                  fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                  //转大写
                  var money = fxjSum;
                  var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                  var cnIntRadice = ['', '拾', '佰', '仟']
                  var cnIntUnits = ['', '万', '亿', '兆']
                  var cnDecUnits = ['角', '分', '毫', '厘']
                  var cnInteger = '整'
                  var cnIntLast = '元'
                  var maxNum = 999999999999999.9999
                  var integerNum
                  var decimalNum
                  var chineseStr = ''
                  var parts
                  if (money === '') {
                    return ''
                  }
                  money = parseFloat(money)
                  if (money >= maxNum) {
                    return ''
                  }
                  if (money === 0) {
                    chineseStr = cnNums[0] + cnIntLast + cnInteger
                    return chineseStr
                  }
                  money = money.toString()
                  if (money.indexOf('.') === -1) {
                    integerNum = money
                    decimalNum = ''
                  } else {
                    parts = money.split('.')
                    integerNum = parts[0]
                    decimalNum = parts[1].substr(0, 4)
                  }
                  if (parseInt(integerNum, 10) > 0) {
                    var zeroCount = 0
                    var IntLen = integerNum.length
                    for (var i = 0; i < IntLen; i++) {
                      var n = integerNum.substr(i, 1)
                      var p = IntLen - i - 1
                      var q = p / 4
                      var m = p % 4
                      if (n === '0') {
                        zeroCount++
                      } else {
                        if (zeroCount > 0) {
                          chineseStr += cnNums[0]
                        }
                        zeroCount = 0
                        chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                      }
                      if (m === 0 && zeroCount < 4) {
                        chineseStr += cnIntUnits[q]
                      }
                    }
                    chineseStr += cnIntLast
                  }
                  if (decimalNum !== '') {
                    var decLen = decimalNum.length
                    for (i = 0; i < decLen; i++) {
                      n = decimalNum.substr(i, 1)
                      if (n !== '0') {
                        chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                      }
                    }
                  }
                  if (chineseStr === '') {
                    chineseStr += cnNums[0] + cnIntLast + cnInteger
                  } else if (decimalNum === '') {
                    chineseStr += cnInteger
                  }
                  //arr = chineseStr;
              }else
              {
                  //重新计算退休费基数
                  var txfjfbl = this.dataForm.retirementFeeProportion;//退休费计发比例
                  var tgblbf = this.dataForm.increaseProportion;//提高比例部分
                  var gzsftg = this.dataForm.isImprove//工资是否提高10%
                  var gzsftgValue = '';
                  if(txfjfbl === null || txfjfbl === "")
                  {
                    txfjfbl = 0;
                  }
                  if(tgblbf === null || tgblbf === "")
                  {
                    tgblbf = 0;
                  }
                  if(gzsftg == "是")
                  {
                      gzsftgValue = 10;
                  }else{
                    gzsftgValue = 0
                  }
                  txfjfbl = parseFloat(txfjfbl)+parseFloat(tgblbf)+parseFloat(gzsftgValue);
                  var bl = parseFloat(txfjfbl)/100;
                  var seniorityAllowance = this.dataForm.seniorityAllowance; //教护龄津贴
                  
                  var salaryScale = this.dataForm.salaryScale; //薪级工资
                  var serviceAllowance = this.dataForm.serviceAllowance; //军队服务津贴
                  var raiseWages = this.dataForm.raiseWages; //提高工资10% 
                  var gradeSalary = this.dataForm.gradeSalary; //岗位工资
                  var bjs = 0;
                  bjs = bjs + parseFloat(gradeSalary)+ parseFloat(serviceAllowance) + parseFloat(raiseWages) + parseFloat(salaryScale);
                  bjs = bjs * bl;
                  var jbtxfzkhj = 0;
                  jbtxfzkhj = parseFloat(bjs) + parseFloat(seniorityAllowance);
                  jbtxfzkhj = Math.ceil(jbtxfzkhj)


                  //重新计算退休费合计
                  var zdsctxfsl =  0;
                  var resultB = this.resultB;
                  zdsctxfsl = parseFloat(jbtxfzkhj)+parseFloat(resultB);

                  //抚恤金合计
                  var fxjSum = 0;
                  fxjSum = parseFloat(rjkzpsrbz)*2+parseFloat(zdsctxfsl)*40 + 5000;

                  //转大写
                  var money = fxjSum;
                  var cnNums = ['零', '壹', '贰', '叁', '肆', '伍', '陆', '柒', '捌', '玖']
                  var cnIntRadice = ['', '拾', '佰', '仟']
                  var cnIntUnits = ['', '万', '亿', '兆']
                  var cnDecUnits = ['角', '分', '毫', '厘']
                  var cnInteger = '整'
                  var cnIntLast = '元'
                  var maxNum = 999999999999999.9999
                  var integerNum
                  var decimalNum
                  var chineseStr = ''
                  var parts
                  if (money === '') {
                    return ''
                  }
                  money = parseFloat(money)
                  if (money >= maxNum) {
                    return ''
                  }
                  if (money === 0) {
                    chineseStr = cnNums[0] + cnIntLast + cnInteger
                    return chineseStr
                  }
                  money = money.toString()
                  if (money.indexOf('.') === -1) {
                    integerNum = money
                    decimalNum = ''
                  } else {
                    parts = money.split('.')
                    integerNum = parts[0]
                    decimalNum = parts[1].substr(0, 4)
                  }
                  if (parseInt(integerNum, 10) > 0) {
                    var zeroCount = 0
                    var IntLen = integerNum.length
                    for (var i = 0; i < IntLen; i++) {
                      var n = integerNum.substr(i, 1)
                      var p = IntLen - i - 1
                      var q = p / 4
                      var m = p % 4
                      if (n === '0') {
                        zeroCount++
                      } else {
                        if (zeroCount > 0) {
                          chineseStr += cnNums[0]
                        }
                        zeroCount = 0
                        chineseStr += cnNums[parseInt(n)] + cnIntRadice[m]
                      }
                      if (m === 0 && zeroCount < 4) {
                        chineseStr += cnIntUnits[q]
                      }
                    }
                    chineseStr += cnIntLast
                  }
                  if (decimalNum !== '') {
                    var decLen = decimalNum.length
                    for (i = 0; i < decLen; i++) {
                      n = decimalNum.substr(i, 1)
                      if (n !== '0') {
                        chineseStr += cnNums[Number(n)] + cnDecUnits[i]
                      }
                    }
                  }
                  if (chineseStr === '') {
                    chineseStr += cnNums[0] + cnIntLast + cnInteger
                  } else if (decimalNum === '') {
                    chineseStr += cnInteger
                  }
                  //arr = chineseStr;
              }
          }

        

          if (this.dataForm.id) {
              var data = {
                  title:'（1985年工改前退休人员xxx）',
                  // id: this.dataForm.id || undefined,
                  areaCode: this.dataForm.areaCode,
                  personalCode: this.dataForm.personalCode,
                  name: this.dataForm.name,
                  sex: this.dataForm.sex,
                  nation: this.dataForm.nation,
                  politicalFace: this.dataForm.politicalFace,
                  idNo: this.dataForm.idNo,
                  birthDate: this.dataForm.birthDate,
                  workTime: this.dataForm.workTime,
                  txsj: this.dataForm.retirementTime,
                  retirementStatus: this.dataForm.retirementStatus,
                  duties: this.dataForm.duties,
                  county: this.dataForm.county,
                  street: this.dataForm.street,
                  community: this.dataForm.community,
                  ybd: this.dataForm.originalTroops,
                  yjsj: this.dataForm.handoverPeriod,
                  handoverTime: this.dataForm.handoverTime,
                  handoverMode: this.dataForm.handoverMode,
                  handoverBatch: this.dataForm.handoverBatch,
                  workersClassification: this.dataForm.workersClassification,
                  reception: this.dataForm.reception,
                  myStatus: this.dataForm.myStatus,
                  inOutTime: this.dataForm.inOutTime,
                  bgsj: this.dataForm.deathTime,
                  housingSituation: this.dataForm.housingSituation,
                  housingPropertyRight: this.dataForm.housingPropertyRight,
                  leaseholder: this.dataForm.leaseholder,
                  housingArea: this.dataForm.housingArea,
                  increasePension: 0.0,
                  totalMonthlyPension: this.dataForm.totalMonthlyPension,
                  death: this.dataForm.death,
                  workUnit: this.dataForm.workUnit,
                  address: this.dataForm.address,
                  phone: this.dataForm.phone,
                  remarks: this.dataForm.remarks,
                  workYears: this.dataForm.workingYears,
                  yuYue: this.dataForm.yuYue,
                  jdgznx: this.dataForm.workingYearsArmy,
                  jl: this.dataForm.teachingAge,
                  wageLevel: this.dataForm.wageLevel,
                  wageGrade: this.dataForm.wageGrade,
                  wageScale: this.dataForm.wageScale,
                  treatmentStandard: this.dataForm.treatmentStandard,
                  personnelClassification: this.dataForm.personnelClassification,
                  enjoyAllowance: this.dataForm.enjoyAllowance,
                  specialAllowance: this.dataForm.specialAllowance,
                  increaseProportion: this.dataForm.increaseProportion,
                  renson: this.dataForm.renson,
                  allowanceRatio: this.dataForm.allowanceRatio,
                  postLevel: this.dataForm.postLevel,
                  salary: this.dataForm.salary,
                  isImprove: this.dataForm.isImprove,
                  jbtxfjfbl: this.dataForm.retirementFeeProportion,
                  glgz: this.dataForm.senioritySalary,
                  jcgz: this.dataForm.basicSalary,
                  jbgz: this.dataForm.levelSalary,
                  gwbzgz: this.dataForm.gradeSalary,
                  xjgz: this.dataForm.salaryScale,
                  jjjt: this.dataForm.bonusAllowance,
                  jdfwjt: this.dataForm.serviceAllowance,
                  jhljt: this.dataForm.seniorityAllowance,
                  fzzwbt: this.dataForm.totalSubsidy,
                  tjjsqtjt: this.dataForm.specialTeacherSubsidy,
                  knbz: this.dataForm.difficultySubsidy,
                  gztg: this.dataForm.raiseWages,
                  zjtxfA: this.dataForm.retirementPayEightynine,
                  tgtxfB: this.dataForm.retirementPayNinetytwo,
                  zjtxfI: this.dataForm.retirementPayFirst,
                  zjtxfJ: this.dataForm.retirementPaySecond,
                  zjtxfC: this.dataForm.retirementPayNinetyfive,
                  zjtxfK: this.dataForm.retirementPayNinetyseven,
                  zjtxfD: this.dataForm.retirementPayNinetysesec,
                  zjtxfL: this.dataForm.retirementPayNinetynine,
                  zjtxfF: this.dataForm.retirementPayNinetynisec,
                  zjtxfR: this.dataForm.retirementPayZero,
                  zjtxfM: this.dataForm.retirementPayOne,
                  zjtxfN: this.dataForm.retirementPayOnenew,
                  zjtxfE: this.dataForm.retirementPayOnsec,
                  zjtxfO: this.dataForm.retirementPayThird,
                  zjtxfG: this.dataForm.retirementPayThisec,
                  zjtxfH: this.dataForm.retirementPayFive,
                  zjtxfP: this.dataForm.retirementPaySix,
                  fsbtA: this.dataForm.foodAllowanceSeventynine,
                  fsbtB: this.dataForm.foodAllowanceEightyeight,
                  lybtA: this.dataForm.oilAllowanceNightyone,
                  lybtB: this.dataForm.oilAllowanceNightytwo,
                  rlbtA: this.dataForm.fuelLlowance,
                  rcbtA: this.dataForm.meatLlowance,
                  lybtC: this.dataForm.oilAllowanceNightythird,
                  shbtA: this.dataForm.livingAllowanceEightyfive,
                  shbtB: this.dataForm.livingAllowanceEightyei,
                  shbtC: this.dataForm.livingAllowanceNightytw,
                  shbtD: this.dataForm.livingAllowanceNightyfo,
                  shbtE: this.dataForm.livingAllowanceNightyfive,
                  zjshbtB: this.dataForm.livingAllowanceNightysix,
                  zjshbtC: this.dataForm.livingAllowanceNightysev,
                  zjshbtD: this.dataForm.livingAllowanceNightyeig,
                  zjshbtE: this.dataForm.livingAllowanceNightynig,
                  zjshbtF: this.dataForm.livingAllowanceZero,
                  zjshbtG: this.dataForm.livingAllowanceOne,
                  zjshbtH: this.dataForm.livingAllowanceTwo,
                  zjshbtI: this.dataForm.livingAllowanceThird,
                  zjshbtJ: this.dataForm.livingAllowanceFour,
                  zjshbtA: this.dataForm.livingAllowanceSeven,
                  specialGoveAllowanc: this.dataForm.specialGoveAllowanc,
                  sbf: this.dataForm.paperMoney,
                  zfbt: this.dataForm.housingSubsidy,
                  xlf: this.dataForm.bathSubsidy,
                  ryjt: this.dataForm.honorAllowance,
                  qtsr: this.dataForm.otherIncome,
                  zwbtA: this.dataForm.jobSubsidy,
                  nlbtA: this.dataForm.ageAllowance,
                  holidaySubsidy: this.dataForm.holidaySubsidy,
                  txbtA: this.dataForm.retirementAllowanceOneo,
                  growthMechanismSubsidy: this.dataForm.growthMechanismSubsidy,
                  gznxbt: this.dataForm.workingYearsSubsidy,
                  tgblbt: this.dataForm.proportionalSubsidy,
                  txbtB: this.dataForm.retirementAllowanceOneth,
                  zzjzbtA: this.dataForm.growthMechanismThirty,
                  txbtC: this.dataForm.retirementAllowanceThirty,
                  zjtxfQ: this.dataForm.retirementPayFourty,
                  logoutDate: this.dataForm.logoutDate,
                  heatingSubsidy: this.dataForm.heatingSubsidy,
                  wyfwbt: this.dataForm.serviceSubsidy,
                  zjyljA: this.dataForm.pensionSixteen,
                  zjyljB: this.dataForm.pensionSeventeen,
                  zjyljC: this.dataForm.pensionEighteen,
                  zjyljD: this.dataForm.pensionNineteen,
                  tzdyA: this.dataForm.adjustTreatment,
                  basicPension: this.dataForm.basicPension,
                  zjyljF: this.dataForm.pensionTwenty,
                  zjyljE: this.dataForm.pensionTwentyone,
                  jbtxfzkhj:jbtxfzkhj,
                  lczjtxfhj:this.resultB,
                  jgshbthj: this.resultC,
                  zjshjzhj: this.resultF,
                  qthj: this.resultG,
                  zdsctxf: this.resultH,
                  state:0,
                  zjshjzbthj:this.resultD,
                  fxjhj:fxjSum,
                  lczjtxfhjsl:lczjtxfhjsl,
                  jgshbthjsl:jgshbthjsl,
                  zdsctxfsl:zdsctxfsl,
                  dx:chineseStr,
                  jbtxfzkhjsl:jbtxfzkhjsl,
                  lxfJ: this.dataForm.retirementPayEighteen,
                  lxfT: this.dataForm.retirementPayTwentyten,
                  rjkzpsr:rjkzpsrbz
                }
          
            
              if(deathNian<2011 || (deathNian == 2011 && deathMonth <8))
              {
                if(nian < 1985)
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA1_old.docx", data, `抚恤金.docx`);
                }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA2_old.docx", data, `抚恤金.docx`);
                }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
                {
                  if(txqsf == "职员" && dybz == '机关职员标准')
                  {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA3_old.docx", data, `抚恤金.docx`);
                  }else
                  {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA4_old.docx", data, `抚恤金.docx`);
                  }
                }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA4_old.docx", data, `抚恤金.docx`);
                }else
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjA5_old.docx", data, `抚恤金.docx`);
                }
              }else
              {
                if(nian < 1985)
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB1_old.docx", data, `抚恤金.docx`);
                }else if(((nian >= 1985 && nian <1993)) || ((nian == 1993 && month <10)))
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB2_old.docx", data, `抚恤金.docx`);
                }else if((nian == 1993 && month >=10) || (nian >1993 && nian <2003) || (nian == 2003 && month <7))
                {
                  if(txqsf == "职员" && dybz == '机关职员标准')
                  {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB3_old.docx", data, `抚恤金.docx`);
                  }else
                  {
                    exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB4_old.docx", data, `抚恤金.docx`);
                  }
                }else if((nian == 2003 && month >=7) || (nian > 2003 && nian < 2006) || (nian == 2006 && month <7))
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB4_old.docx", data, `抚恤金.docx`);
                }else
                {
                  exportDocx(window.SITE_CONFIG.cdnUrl + "/static/assets/fxjB5_old.docx", data, `抚恤金.docx`);
                }
              }
            
            }

          
        }
      })


       
		}
    }
  }

  export const exportDocx = (tempDocxPath, data, fileName) => {
  // 读取并获得模板文件的二进制内容
  JSZipUtils.getBinaryContent(tempDocxPath, (error, content) => {
    if (error) {
      throw error;
    }
    let zip = new PizZip(content);
    let doc = new docxtemplater().loadZip(zip);
    doc.setData(data);
    try {
      // render the document (replace all occurences of {first_name} by John, {last_name} by Doe, ...)
      doc.render();
    } catch (error) {
      let e = {
        message: error.message,
        name: error.name,
        stack: error.stack,
        properties: error.properties,
      };
      console.log({
        error: e
      });
      // The error thrown here contains additional information when logged with JSON.stringify (it contains a property object).
      throw error;
    }
    let out = doc.getZip().generate({
      type: "blob",
      mimeType: "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
    }); //Output the document using Data-URI
    saveAs(out, fileName);
  });
};
</script>
<style>
.el-input.is-disabled .el-input__inner {
background-color: #f5f7fa;
border-color: #e4e7ed;
color: #000;
cursor:pointer
}
.el-select .el-input.is-disabled .el-input__inner {
background-color: #f5f7fa;
border-color: #e4e7ed;
color: #000;
cursor:pointer
}
</style>
